Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions Data/Primitive/Types.hs
Original file line number Diff line number Diff line change
Expand Up @@ -70,7 +70,7 @@ import Data.Ord (Down(..))
class Prim a where
-- We use `Proxy` instead of `Proxy#`, since the latter doesn't work with GND for GHC <= 8.8.

-- | The size of values of type @a@ in bytes. This has to be used with TypeApplications: @sizeOfType \@a@.
-- | The size of values of type @a@ in bytes.
--
-- @since 0.9.0.0
sizeOfType# :: Proxy a -> Int#
Expand All @@ -82,7 +82,7 @@ class Prim a where
sizeOf# :: a -> Int#
sizeOf# _ = sizeOfType# (Proxy :: Proxy a)

-- | The alignment of values of type @a@ in bytes. This has to be used with TypeApplications: @alignmentOfType \@a@.
-- | The alignment of values of type @a@ in bytes.
--
-- @since 0.9.0.0
alignmentOfType# :: Proxy a -> Int#
Expand Down
Loading