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. enumMemberCId :: EnumerationMember -> Text

    haskell-gi Data.GI.GIR.Enum

    No documentation available.

  2. enumMemberDoc :: EnumerationMember -> Documentation

    haskell-gi Data.GI.GIR.Enum

    No documentation available.

  3. enumMemberName :: EnumerationMember -> Text

    haskell-gi Data.GI.GIR.Enum

    No documentation available.

  4. enumMemberValue :: EnumerationMember -> Int64

    haskell-gi Data.GI.GIR.Enum

    No documentation available.

  5. enumMembers :: Enumeration -> [EnumerationMember]

    haskell-gi Data.GI.GIR.Enum

    No documentation available.

  6. enumStorageBytes :: Enumeration -> Int

    haskell-gi Data.GI.GIR.Enum

    Bytes used for storage of this struct.

  7. enumTypeInit :: Enumeration -> Maybe Text

    haskell-gi Data.GI.GIR.Enum

    No documentation available.

  8. enumLaws :: (Enum a, Eq a, Arbitrary a, Show a) => Proxy a -> Laws

    quickcheck-classes Test.QuickCheck.Classes

    Tests the following properties:

    This only works for Enum types that are not bounded, meaning that succ and pred must be total. This means that these property tests work correctly for types like Integer but not for Int. Sadly, there is not a good way to test fromEnum and toEnum, since many types that have reasonable implementations for succ and pred have more inhabitants than Int does.

  9. enum' :: forall (a :: k) . Enum' f => [f a]

    generic-deriving Generics.Deriving.Enum

    No documentation available.

  10. enumCompleteTypeInfo :: (HasCallStack, MonadIO m) => GType -> EnumValue -> m TypeInfo

    gi-gobject GI.GObject.Functions

    This function is meant to be called from the complete_type_info function of a TypePlugin implementation, as in the following example:

    C code

    static void
    my_enum_complete_type_info (GTypePlugin     *plugin,
    GType            g_type,
    GTypeInfo       *info,
    GTypeValueTable *value_table)
    {
    static const GEnumValue values[] = {
    { MY_ENUM_FOO, "MY_ENUM_FOO", "foo" },
    { MY_ENUM_BAR, "MY_ENUM_BAR", "bar" },
    { 0, NULL, NULL }
    };
    
    g_enum_complete_type_info (type, info, values);
    }
    

Page 41 of many | Previous | Next