unison-parser-typechecker-0.0.0
Safe HaskellSafe-Inferred
LanguageHaskell2010

Unison.Syntax.DeclParser

Documentation

synDeclsP :: (Monad m, Var v) => P v m [SynDecl v] Source #

data SynDecl v Source #

Instances

Instances details
Annotated (SynDecl v) Source # 
Instance details

Defined in Unison.Syntax.DeclParser

Methods

ann :: SynDecl v -> Ann #

data SynDataDecl v Source #

Constructors

SynDataDecl 

Fields

Instances

Instances details
Generic (SynDataDecl v) Source # 
Instance details

Defined in Unison.Syntax.DeclParser

Associated Types

type Rep (SynDataDecl v) :: Type -> Type #

Methods

from :: SynDataDecl v -> Rep (SynDataDecl v) x #

to :: Rep (SynDataDecl v) x -> SynDataDecl v #

type Rep (SynDataDecl v) Source # 
Instance details

Defined in Unison.Syntax.DeclParser

type Rep (SynDataDecl v) = D1 ('MetaData "SynDataDecl" "Unison.Syntax.DeclParser" "unison-parser-typechecker-0.0.0-JliU30UQmMa2dDW5SxUdL" 'False) (C1 ('MetaCons "SynDataDecl" 'PrefixI 'True) ((S1 ('MetaSel ('Just "annotation") 'NoSourceUnpackedness 'SourceStrict 'DecidedStrict) (Rec0 Ann) :*: (S1 ('MetaSel ('Just "constructors") 'NoSourceUnpackedness 'SourceStrict 'DecidedStrict) (Rec0 [(Ann, v, Type v Ann)]) :*: S1 ('MetaSel ('Just "fields") 'NoSourceUnpackedness 'SourceStrict 'DecidedStrict) (Rec0 (Maybe [(Token v, Type v Ann)])))) :*: (S1 ('MetaSel ('Just "modifier") 'NoSourceUnpackedness 'SourceStrict 'DecidedStrict) (Rec0 Modifier) :*: (S1 ('MetaSel ('Just "name") 'NoSourceUnpackedness 'SourceStrict 'DecidedStrict) (Rec0 (Token v)) :*: S1 ('MetaSel ('Just "tyvars") 'NoSourceUnpackedness 'SourceStrict 'DecidedStrict) (Rec0 [v])))))

data SynEffectDecl v Source #

Constructors

SynEffectDecl 

Fields

Instances

Instances details
Generic (SynEffectDecl v) Source # 
Instance details

Defined in Unison.Syntax.DeclParser

Associated Types

type Rep (SynEffectDecl v) :: Type -> Type #

type Rep (SynEffectDecl v) Source # 
Instance details

Defined in Unison.Syntax.DeclParser

type Rep (SynEffectDecl v) = D1 ('MetaData "SynEffectDecl" "Unison.Syntax.DeclParser" "unison-parser-typechecker-0.0.0-JliU30UQmMa2dDW5SxUdL" 'False) (C1 ('MetaCons "SynEffectDecl" 'PrefixI 'True) ((S1 ('MetaSel ('Just "annotation") 'NoSourceUnpackedness 'SourceStrict 'DecidedStrict) (Rec0 Ann) :*: S1 ('MetaSel ('Just "constructors") 'NoSourceUnpackedness 'SourceStrict 'DecidedStrict) (Rec0 [(Ann, v, Type v Ann)])) :*: (S1 ('MetaSel ('Just "modifier") 'NoSourceUnpackedness 'SourceStrict 'DecidedStrict) (Rec0 Modifier) :*: (S1 ('MetaSel ('Just "name") 'NoSourceUnpackedness 'SourceStrict 'DecidedStrict) (Rec0 (Token v)) :*: S1 ('MetaSel ('Just "tyvars") 'NoSourceUnpackedness 'SourceStrict 'DecidedStrict) (Rec0 [v])))))