from http://hackage.haskell.org/package/purescript-0.13.6/docs/Language-PureScript-CST-Types.html#t:Type
what is the meaning of
TypeOpName a (QualifiedName (OpName TypeOpName))
constructor
created in parser with
%token
...
SYMBOL { SourceToken _ (TokSymbolName [] _) }
QUAL_SYMBOL { SourceToken _ (TokSymbolName _ _) }
qualSymbol :: { QualifiedOpName }
: SYMBOL {% qualifiedOpName <\$> toQualifiedName N.OpName $1 }
| QUAL_SYMBOL {% qualifiedOpName <\$> toQualifiedName N.OpName $1 }
| '(..)' {% qualifiedOpName <\$> toQualifiedName N.OpName $1 }
typeAtom :: { Type ()}
....
| qualSymbol { TypeOpName () (getQualifiedOpName $1) }
for example this is (..)
in foo :: Foo ((..) :: Type)
what is (..)
and SYMBOL
and QUAL_SYMBOL
?
TypeArrName a SourceToken
constructor
created in parser with
typeAtom :: { Type ()}
....
| '(->)' { TypeArrName () $1 }
for example this is (->)
in foo :: Foo (->)
what is (->)
?