Shpadoinkle-widgets-0.0.0.1: A collection of common reusable types and components.

Safe HaskellNone
LanguageHaskell2010

Shpadoinkle.Widgets.Types.Core

Documentation

data Hygiene Source #

Constructors

Clean 
Dirty 
Instances
Bounded Hygiene Source # 
Instance details

Defined in Shpadoinkle.Widgets.Types.Core

Enum Hygiene Source # 
Instance details

Defined in Shpadoinkle.Widgets.Types.Core

Eq Hygiene Source # 
Instance details

Defined in Shpadoinkle.Widgets.Types.Core

Methods

(==) :: Hygiene -> Hygiene -> Bool #

(/=) :: Hygiene -> Hygiene -> Bool #

Ord Hygiene Source # 
Instance details

Defined in Shpadoinkle.Widgets.Types.Core

Read Hygiene Source # 
Instance details

Defined in Shpadoinkle.Widgets.Types.Core

Show Hygiene Source # 
Instance details

Defined in Shpadoinkle.Widgets.Types.Core

Generic Hygiene Source # 
Instance details

Defined in Shpadoinkle.Widgets.Types.Core

Associated Types

type Rep Hygiene :: Type -> Type #

Methods

from :: Hygiene -> Rep Hygiene x #

to :: Rep Hygiene x -> Hygiene #

Semigroup Hygiene Source # 
Instance details

Defined in Shpadoinkle.Widgets.Types.Core

Monoid Hygiene Source # 
Instance details

Defined in Shpadoinkle.Widgets.Types.Core

ToJSON Hygiene Source # 
Instance details

Defined in Shpadoinkle.Widgets.Types.Core

FromJSON Hygiene Source # 
Instance details

Defined in Shpadoinkle.Widgets.Types.Core

type Rep Hygiene Source # 
Instance details

Defined in Shpadoinkle.Widgets.Types.Core

type Rep Hygiene = D1 (MetaData "Hygiene" "Shpadoinkle.Widgets.Types.Core" "Shpadoinkle-widgets-0.0.0.1-2e7ySQOzQveLMoCBVBP1hf" False) (C1 (MetaCons "Clean" PrefixI False) (U1 :: Type -> Type) :+: C1 (MetaCons "Dirty" PrefixI False) (U1 :: Type -> Type))

class Humanize a where Source #

Minimal complete definition

Nothing

Methods

humanize :: a -> Text Source #

humanize :: Show a => a -> Text Source #

Instances
Humanize Text Source # 
Instance details

Defined in Shpadoinkle.Widgets.Types.Core

Methods

humanize :: Text -> Text Source #

Humanize String Source # 
Instance details

Defined in Shpadoinkle.Widgets.Types.Core

Methods

humanize :: String -> Text Source #

class Present a where Source #

Minimal complete definition

Nothing

Methods

present :: a -> [Html m b] Source #

present :: Humanize a => a -> [Html m b] Source #

Instances
Humanize a => Present a Source # 
Instance details

Defined in Shpadoinkle.Widgets.Types.Core

Methods

present :: a -> [Html m b] Source #