Hoogle Search

Within LTS Haskell 24.10 (ghc-9.10.2)

Note that Stackage only displays results for the latest LTS and Nightly snapshot. Learn more.

  1. enumGetValue :: (HasCallStack, MonadIO m) => EnumClass -> Int32 -> m (Maybe EnumValue)

    gi-gobject GI.GObject.Functions

    Returns the EnumValue for a value.

  2. enumGetValueByName :: (HasCallStack, MonadIO m) => EnumClass -> Text -> m (Maybe EnumValue)

    gi-gobject GI.GObject.Functions

    Looks up a EnumValue by name.

  3. enumGetValueByNick :: (HasCallStack, MonadIO m) => EnumClass -> Text -> m (Maybe EnumValue)

    gi-gobject GI.GObject.Functions

    Looks up a EnumValue by nickname.

  4. enumRegisterStatic :: (HasCallStack, MonadIO m) => Text -> EnumValue -> m GType

    gi-gobject GI.GObject.Functions

    Registers a new static enumeration type with the name name. It is normally more convenient to let [glib-mkenums][glib-mkenums], generate a my_enum_get_type() function from a usual C enumeration definition than to write one yourself using enumRegisterStatic.

  5. enumToString :: (HasCallStack, MonadIO m) => GType -> Int32 -> m Text

    gi-gobject GI.GObject.Functions

    Pretty-prints value in the form of the enum’s name. This is intended to be used for debugging purposes. The format of the output may change in the future. Since: 2.54

  6. enumCodec :: Eq enum => NonEmpty (enum, Codec context enum enum) -> Codec context enum enum

    autodocodec Autodocodec

    A codec for an enum that can be written each with their own codec.

    WARNING

    If you don't provide a string for one of the type's constructors, the last codec in the list will be used instead.

  7. enumCodec :: Eq enum => NonEmpty (enum, Codec context enum enum) -> Codec context enum enum

    autodocodec Autodocodec.Codec

    A codec for an enum that can be written each with their own codec.

    WARNING

    If you don't provide a string for one of the type's constructors, the last codec in the list will be used instead.

  8. enumFromN :: (Vector v a, Num a) => a -> Int -> v a

    rio RIO.Vector

    No documentation available.

  9. enumFromStepN :: (Vector v a, Num a) => a -> a -> Int -> v a

    rio RIO.Vector

    No documentation available.

  10. enumFromThenTo :: (Vector v a, Enum a) => a -> a -> a -> v a

    rio RIO.Vector

    No documentation available.

Page 42 of many | Previous | Next