sugar-0.0.0: Legible data
Safe HaskellNone
LanguageHaskell2010

Sugar

Documentation

data Sugar Source #

Instances

Instances details
Eq Sugar Source # 
Instance details

Defined in Sugar

Methods

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

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

Show Sugar Source # 
Instance details

Defined in Sugar

Methods

showsPrec :: Int -> Sugar -> ShowS #

show :: Sugar -> String #

showList :: [Sugar] -> ShowS #

IsString Sugar Source # 
Instance details

Defined in Sugar

Methods

fromString :: String -> Sugar #

Generic Sugar Source # 
Instance details

Defined in Sugar

Associated Types

type Rep Sugar :: Type -> Type #

Methods

from :: Sugar -> Rep Sugar x #

to :: Rep Sugar x -> Sugar #

Serialize Sugar Source # 
Instance details

Defined in Sugar

Methods

put :: Putter Sugar #

get :: Get Sugar #

type Rep Sugar Source # 
Instance details

Defined in Sugar

data Wrap Source #

Constructors

Wrap'Square 
Wrap'Paren 

Instances

Instances details
Eq Wrap Source # 
Instance details

Defined in Sugar

Methods

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

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

Show Wrap Source # 
Instance details

Defined in Sugar

Methods

showsPrec :: Int -> Wrap -> ShowS #

show :: Wrap -> String #

showList :: [Wrap] -> ShowS #

Generic Wrap Source # 
Instance details

Defined in Sugar

Associated Types

type Rep Wrap :: Type -> Type #

Methods

from :: Wrap -> Rep Wrap x #

to :: Rep Wrap x -> Wrap #

Serialize Wrap Source # 
Instance details

Defined in Sugar

Methods

put :: Putter Wrap #

get :: Get Wrap #

type Rep Wrap Source # 
Instance details

Defined in Sugar

type Rep Wrap = D1 ('MetaData "Wrap" "Sugar" "sugar-0.0.0-8HpbXHtPtd87BcxCeMeXA5" 'False) (C1 ('MetaCons "Wrap'Square" 'PrefixI 'False) (U1 :: Type -> Type) :+: C1 ('MetaCons "Wrap'Paren" 'PrefixI 'False) (U1 :: Type -> Type))

class FromSugar a where Source #

Methods

parseSugar :: Sugar -> Maybe a Source #

Instances

Instances details
FromSugar a => FromSugar [a] Source # 
Instance details

Defined in Sugar

Methods

parseSugar :: Sugar -> Maybe [a] Source #

class ToSugar a where Source #

Methods

toSugar :: a -> Sugar Source #

Instances

Instances details
ToSugar Double Source # 
Instance details

Defined in Sugar

Methods

toSugar :: Double -> Sugar Source #

ToSugar Float Source # 
Instance details

Defined in Sugar

Methods

toSugar :: Float -> Sugar Source #

ToSugar Int Source # 
Instance details

Defined in Sugar

Methods

toSugar :: Int -> Sugar Source #

ToSugar Int8 Source # 
Instance details

Defined in Sugar

Methods

toSugar :: Int8 -> Sugar Source #

ToSugar Int16 Source # 
Instance details

Defined in Sugar

Methods

toSugar :: Int16 -> Sugar Source #

ToSugar Int32 Source # 
Instance details

Defined in Sugar

Methods

toSugar :: Int32 -> Sugar Source #

ToSugar Int64 Source # 
Instance details

Defined in Sugar

Methods

toSugar :: Int64 -> Sugar Source #

ToSugar Integer Source # 
Instance details

Defined in Sugar

ToSugar Word Source # 
Instance details

Defined in Sugar

Methods

toSugar :: Word -> Sugar Source #

ToSugar Word8 Source # 
Instance details

Defined in Sugar

Methods

toSugar :: Word8 -> Sugar Source #

ToSugar Word16 Source # 
Instance details

Defined in Sugar

Methods

toSugar :: Word16 -> Sugar Source #

ToSugar Word32 Source # 
Instance details

Defined in Sugar

Methods

toSugar :: Word32 -> Sugar Source #

ToSugar Word64 Source # 
Instance details

Defined in Sugar

Methods

toSugar :: Word64 -> Sugar Source #

ToSugar () Source # 
Instance details

Defined in Sugar

Methods

toSugar :: () -> Sugar Source #

ToSugar Text Source # 
Instance details

Defined in Sugar

Methods

toSugar :: Text -> Sugar Source #

ToSugar a => ToSugar [a] Source # 
Instance details

Defined in Sugar

Methods

toSugar :: [a] -> Sugar Source #

(ToSugar a, ToSugar b) => ToSugar (a, b) Source # 
Instance details

Defined in Sugar

Methods

toSugar :: (a, b) -> Sugar Source #

(ToSugar a, ToSugar b) => ToSugar (Map a b) Source # 
Instance details

Defined in Sugar

Methods

toSugar :: Map a b -> Sugar Source #

(ToSugar a, ToSugar b, ToSugar c) => ToSugar (a, b, c) Source # 
Instance details

Defined in Sugar

Methods

toSugar :: (a, b, c) -> Sugar Source #