Hoogle Search
Within LTS Haskell 24.35 (ghc-9.10.3)
Note that Stackage only displays results for the latest LTS and Nightly snapshot. Learn more.
gtoEnumRaw' :: forall opts a . (Generic a, GEnum opts (Rep a)) => Int -> ageneric-data Generic.Data.Internal.Enum Unsafe generic toEnum. Does not check whether the argument is within valid bounds. Use gtoEnum or gtoFiniteEnum instead.
gtoFiniteEnum :: (Generic a, GEnum FiniteEnum (Rep a)) => Int -> ageneric-data Generic.Data.Internal.Enum Generic toEnum generated with the FiniteEnum option.
instance Enum MyType where toEnum = gtoFiniteEnum fromEnum = gfromFiniteEnum enumFrom = gfiniteEnumFrom enumFromThen = gfiniteEnumFromThen enumFromTo = gfiniteEnumFromTo enumFromThenTo = gfiniteEnumFromThenTo
-
generic-data Generic.Data.Internal.Generically Type with Enum instance derived via Generic with FiniteEnum option. This allows deriving Enum for types whose constructors have fields. Some caution is advised; see details in FiniteEnum.
Example
>>> :{ data Booool = Booool Bool Bool deriving Generic deriving (Enum, Bounded) via (FiniteEnumeration Booool) :} FiniteEnumeration :: a -> FiniteEnumeration ageneric-data Generic.Data.Internal.Generically No documentation available.
conIdEnum :: Constructors a => [ConId a]generic-data Generic.Data.Internal.Meta All constructor identifiers.
gconNum @a = length (conIdEnum @a)
documentGetCurrentPageNumber :: (HasCallStack, MonadIO m, IsDocument a) => a -> m Int32gi-atk GI.Atk.Interfaces.Document Retrieves the current page number inside document. Since: 2.12
constructDeviceNumTouches :: (IsDevice o, MonadIO m) => Word32 -> m (GValueConstruct o)gi-gdk3 GI.Gdk.Objects.Device Construct a GValueConstruct with valid value for the “num-touches” property. This is rarely needed directly, but it is used by new.
getDeviceNumTouches :: (MonadIO m, IsDevice o) => o -> m Word32gi-gdk3 GI.Gdk.Objects.Device Get the value of the “num-touches” property. When overloading is enabled, this is equivalent to
get device #numTouches
-
massiv-test Test.Massiv.Array.Numeric No documentation available.
-
massiv-test Test.Massiv.Array.Numeric No documentation available.