purescript-0.12.0: PureScript Programming Language Compiler

Safe HaskellNone
LanguageHaskell2010

Language.PureScript.Label

Synopsis

Documentation

newtype Label Source #

Labels are used as record keys and row entry names. Labels newtype PSString because records are indexable by PureScript strings at runtime.

Constructors

Label 

Fields

Instances

Eq Label Source # 

Methods

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

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

Ord Label Source # 

Methods

compare :: Label -> Label -> Ordering #

(<) :: Label -> Label -> Bool #

(<=) :: Label -> Label -> Bool #

(>) :: Label -> Label -> Bool #

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

max :: Label -> Label -> Label #

min :: Label -> Label -> Label #

Show Label Source # 

Methods

showsPrec :: Int -> Label -> ShowS #

show :: Label -> String #

showList :: [Label] -> ShowS #

IsString Label Source # 

Methods

fromString :: String -> Label #

Generic Label Source # 

Associated Types

type Rep Label :: * -> * #

Methods

from :: Label -> Rep Label x #

to :: Rep Label x -> Label #

Monoid Label Source # 

Methods

mempty :: Label #

mappend :: Label -> Label -> Label #

mconcat :: [Label] -> Label #

ToJSON Label Source # 
FromJSON Label Source # 
NFData Label Source # 

Methods

rnf :: Label -> () #

type Rep Label Source # 
type Rep Label = D1 * (MetaData "Label" "Language.PureScript.Label" "purescript-0.12.0-GnFPE64AyqYHZk4VD04uBy" True) (C1 * (MetaCons "Label" PrefixI True) (S1 * (MetaSel (Just Symbol "runLabel") NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 * PSString)))