Shpadoinkle-widgets-0.2.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

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 Source #

Semigroup Hygiene Source # 
Instance details

Defined in Shpadoinkle.Widgets.Types.Core

Monoid Hygiene Source # 
Instance details

Defined in Shpadoinkle.Widgets.Types.Core

Arbitrary Hygiene Source # 
Instance details

Defined in Shpadoinkle.Widgets.Types.Core

NFData Hygiene Source # 
Instance details

Defined in Shpadoinkle.Widgets.Types.Core

Methods

rnf :: Hygiene -> () Source #

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.2.0.1-HaWUIlNGtuO41rdsllvehE" False) (C1 (MetaCons "Clean" PrefixI False) (U1 :: Type -> Type) :+: C1 (MetaCons "Dirty" PrefixI False) (U1 :: Type -> Type))

data ClickAway Source #

Instances
Bounded ClickAway Source # 
Instance details

Defined in Shpadoinkle.Widgets.Types.Core

Enum ClickAway Source # 
Instance details

Defined in Shpadoinkle.Widgets.Types.Core

Eq ClickAway Source # 
Instance details

Defined in Shpadoinkle.Widgets.Types.Core

Ord ClickAway Source # 
Instance details

Defined in Shpadoinkle.Widgets.Types.Core

Read ClickAway Source # 
Instance details

Defined in Shpadoinkle.Widgets.Types.Core

Show ClickAway Source # 
Instance details

Defined in Shpadoinkle.Widgets.Types.Core

Generic ClickAway Source # 
Instance details

Defined in Shpadoinkle.Widgets.Types.Core

Associated Types

type Rep ClickAway :: Type -> Type Source #

NFData ClickAway Source # 
Instance details

Defined in Shpadoinkle.Widgets.Types.Core

Methods

rnf :: ClickAway -> () Source #

ToJSON ClickAway Source # 
Instance details

Defined in Shpadoinkle.Widgets.Types.Core

FromJSON ClickAway Source # 
Instance details

Defined in Shpadoinkle.Widgets.Types.Core

type Rep ClickAway Source # 
Instance details

Defined in Shpadoinkle.Widgets.Types.Core

type Rep ClickAway = D1 (MetaData "ClickAway" "Shpadoinkle.Widgets.Types.Core" "Shpadoinkle-widgets-0.2.0.1-HaWUIlNGtuO41rdsllvehE" False) (C1 (MetaCons "ClosesOnClickAway" PrefixI False) (U1 :: Type -> Type) :+: C1 (MetaCons "StaysOpenOnClickAway" PrefixI False) (U1 :: Type -> Type))

data Ability Source #

Constructors

Enabled 
Disabled 
Instances
Bounded Ability Source # 
Instance details

Defined in Shpadoinkle.Widgets.Types.Core

Enum Ability Source # 
Instance details

Defined in Shpadoinkle.Widgets.Types.Core

Eq Ability Source # 
Instance details

Defined in Shpadoinkle.Widgets.Types.Core

Ord Ability Source # 
Instance details

Defined in Shpadoinkle.Widgets.Types.Core

Read Ability Source # 
Instance details

Defined in Shpadoinkle.Widgets.Types.Core

Show Ability Source # 
Instance details

Defined in Shpadoinkle.Widgets.Types.Core

Generic Ability Source # 
Instance details

Defined in Shpadoinkle.Widgets.Types.Core

Associated Types

type Rep Ability :: Type -> Type Source #

NFData Ability Source # 
Instance details

Defined in Shpadoinkle.Widgets.Types.Core

Methods

rnf :: Ability -> () Source #

ToJSON Ability Source # 
Instance details

Defined in Shpadoinkle.Widgets.Types.Core

FromJSON Ability Source # 
Instance details

Defined in Shpadoinkle.Widgets.Types.Core

type Rep Ability Source # 
Instance details

Defined in Shpadoinkle.Widgets.Types.Core

type Rep Ability = D1 (MetaData "Ability" "Shpadoinkle.Widgets.Types.Core" "Shpadoinkle-widgets-0.2.0.1-HaWUIlNGtuO41rdsllvehE" False) (C1 (MetaCons "Enabled" PrefixI False) (U1 :: Type -> Type) :+: C1 (MetaCons "Disabled" 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 () Source # 
Instance details

Defined in Shpadoinkle.Widgets.Types.Core

Methods

humanize :: () -> Text Source #

Humanize String Source # 
Instance details

Defined in Shpadoinkle.Widgets.Types.Core

Methods

humanize :: String -> Text Source #

Humanize Text Source # 
Instance details

Defined in Shpadoinkle.Widgets.Types.Core

Methods

humanize :: Text -> Text Source #

Humanize (Column a) => Humanize (Column (LazyTable a)) Source # 
Instance details

Defined in Shpadoinkle.Widgets.Table.Lazy

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 #