purescript-0.15.12: PureScript Programming Language Compiler

Safe Haskell | Safe-Inferred
Language | Haskell2010

Language.PureScript.Comments

Description

Defines the types of source code comments

# Documentation

data Comment #

Constructors

LineComment Text |
BlockComment Text |

#### Instances

Instances details

FromJSON Comment # |
Instance details Defined in Language.PureScript.Comments Methods parseJSON :: Value -> Parser Comment # parseJSONList :: Value -> Parser [Comment] # omittedField :: Maybe Comment #
ToJSON Comment # |
Instance details Defined in Language.PureScript.Comments Methods toJSON :: Comment -> Value # toEncoding :: Comment -> Encoding # toJSONList :: [Comment] -> Value # toEncodingList :: [Comment] -> Encoding # omitField :: Comment -> Bool #
Generic Comment # |
Instance details Defined in Language.PureScript.Comments Associated Types type Rep Comment :: Type -> Type # Methods from :: Comment -> Rep Comment x # to :: Rep Comment x -> Comment #
Show Comment # |
Instance details Defined in Language.PureScript.Comments Methods showsPrec :: Int -> Comment -> ShowS # show :: Comment -> String # showList :: [Comment] -> ShowS #
NFData Comment # |
Instance details Defined in Language.PureScript.Comments Methods rnf :: Comment -> () #
Eq Comment # |
Instance details Defined in Language.PureScript.Comments Methods (==) :: Comment -> Comment -> Bool # (/=) :: Comment -> Comment -> Bool #
Ord Comment # |
Instance details Defined in Language.PureScript.Comments Methods compare :: Comment -> Comment -> Ordering # (<) :: Comment -> Comment -> Bool # (<=) :: Comment -> Comment -> Bool # (>) :: Comment -> Comment -> Bool # (>=) :: Comment -> Comment -> Bool # max :: Comment -> Comment -> Comment # min :: Comment -> Comment -> Comment #
Serialise Comment # |
Instance details Defined in Language.PureScript.Comments Methods encode :: Comment -> Encoding # decode :: Decoder s Comment # encodeList :: [Comment] -> Encoding # decodeList :: Decoder s [Comment] #
FromJSON (Constraint SourceAnn) # |
Instance details Defined in Language.PureScript.Types Methods parseJSON :: Value -> Parser (Constraint SourceAnn) # parseJSONList :: Value -> Parser [Constraint SourceAnn] # omittedField :: Maybe (Constraint SourceAnn) #
FromJSON (Type SourceAnn) # |
Instance details Defined in Language.PureScript.Types Methods parseJSON :: Value -> Parser (Type SourceAnn) # parseJSONList :: Value -> Parser [Type SourceAnn] # omittedField :: Maybe (Type SourceAnn) #
type Rep Comment # |
Instance details Defined in Language.PureScript.Comments type Rep Comment = D1 ('MetaData "Comment" "Language.PureScript.Comments" "purescript-0.15.12-5l1zT9m1jq0GgrLEUvYibC" 'False) (C1 ('MetaCons "LineComment" 'PrefixI 'False) (S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Text)) :+: C1 ('MetaCons "BlockComment" 'PrefixI 'False) (S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Text)))