Hoogle Search

Within LTS Haskell 24.34 (ghc-9.10.3)

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

  1. module GI.Gdk.Enums

    No documentation available.

  2. data EnumFromTo (a :: Nat) (b :: Nat) (c :: [Nat])

    harpie Harpie.Shape

    Enumerate between two Nats

    >>> :k! Eval (EnumFromTo 0 3)
    ...
    = [0, 1, 2, 3]
    

  3. data EnumMap c

    apecs Apecs.Experimental.Reactive

    Allows you to look up entities by component value. Use e.g. withReactive $ enumLookup True to retrieve a list of entities that have a True component. Based on an IntMap IntSet internally.

  4. ENumber :: Variable -> NumberForm -> ElementType a

    citeproc Citeproc.Types

    No documentation available.

  5. class (Buildable e, Bounded e, Enum e, Eq e, Ord e, Show e, TextParsable e) => EnumText e

    enum-text Text.Enum.Text

    Our toolkit for enumerated types which should be defined as follows:

    import Fmt
    import Text.Enum.Text
    
    data Foo = FOO_bar | FOO_bar_baz
    deriving (Bounded,Enum,Eq,Ord,Show)
    
    instance EnumText     Foo
    instance Buildable    Foo where build     = buildEnumText
    instance TextParsable Foo where parseText = parseEnumText
    
    With the DeriveAnyClass language extension you can list EnumText in the deriving clause, and with DerivingVia (available from GHC 8.6.1) you can derive via UsingEnumText as follows:
    {-# LANGUAGE DeriveAnyClass    #-}
    {-# LANGUAGE DerivingVia       #-}
    
    import Fmt
    import Text.Enum.Text
    
    data Foo = FOO_bar | FOO_bar_baz
    deriving (Bounded,Enum,EnumText,Eq,Ord,Show)
    deriving (Buildable,TextParsable) via UsingEnumText Foo
    

  6. data EnumTextConfig

    enum-text Text.Enum.Text

    Configures the default implementation of renderEnumText

  7. EnumTextConfig :: (Text -> Text) -> (Char -> Char) -> EnumTextConfig

    enum-text Text.Enum.Text

    No documentation available.

  8. data Enumerate

    DPutils Data.Paired.Common

    Select only a subset of the possible enumerations.

  9. type ENumFixedC (rep :: Natural -> Type) (int1 :: Nat) (frac1 :: Nat) (int2 :: Nat) (frac2 :: Nat) = (Bounded rep 1 + Max int1 int2 + Max frac1 frac2, Num rep 1 + Max int1 int2 + Max frac1 frac2, Bits rep 1 + Max int1 int2 + Max frac1 frac2, ExtendingNum rep int1 + frac1 rep int2 + frac2, MResult rep int1 + frac1 rep int2 + frac2 ~rep int1 + int2 + frac1 + frac2, KnownNat int1, KnownNat int2, KnownNat frac1, KnownNat frac2, Resize rep)

    clash-prelude Clash.Sized.Fixed

    Constraint for the ExtendingNum instance of Fixed

  10. type ENumSFixedC (int1 :: Nat) (frac1 :: Nat) (int2 :: Natural) (frac2 :: Natural) = (KnownNat int2 + frac2, KnownNat 1 + Max int1 int2 + Max frac1 frac2, KnownNat Max frac1 frac2, KnownNat 1 + Max int1 int2, KnownNat int1 + frac1, KnownNat frac2, KnownNat int2, KnownNat frac1, KnownNat int1)

    clash-prelude Clash.Sized.Fixed

    Constraint for the ExtendingNum instance of SFixed

Page 20 of many | Previous | Next