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.

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

    columnar Text.Columnar

    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
    

  2. data EnumTextConfig

    columnar Text.Columnar

    Configures the default implementation of renderEnumText

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

    columnar Text.Columnar

    No documentation available.

  4. newtype EnumFuncallExit

    emacs-module Data.Emacs.Module.Env

    No documentation available.

  5. EnumFuncallExit :: CInt -> EnumFuncallExit

    emacs-module Data.Emacs.Module.Env

    No documentation available.

  6. module GI.Gdk.Enums

    This is a backwards-compatibility module re-exporting the contents of the GI.Gdk.Enums module in the gi-gdk4 package. The link below will take you to the relevant entry in the gi-gdk4 documentation.

  7. module GI.GdkX11.Enums

    This is a backwards-compatibility module re-exporting the contents of the GI.GdkX11.Enums module in the gi-gdkx114 package. The link below will take you to the relevant entry in the gi-gdkx114 documentation.

  8. module GI.Gtk.Enums

    This is a backwards-compatibility module re-exporting the contents of the GI.Gtk.Enums module in the gi-gtk4 package. The link below will take you to the relevant entry in the gi-gtk4 documentation.

  9. module GI.GtkSource.Enums

    This is a backwards-compatibility module re-exporting the contents of the GI.GtkSource.Enums module in the gi-gtksource5 package. The link below will take you to the relevant entry in the gi-gtksource5 documentation.

  10. module GI.JavaScriptCore.Enums

    This is a backwards-compatibility module re-exporting the contents of the GI.JavaScriptCore.Enums module in the gi-javascriptcore6 package. The link below will take you to the relevant entry in the gi-javascriptcore6 documentation.

Page 32 of many | Previous | Next