CurryInfo: curry-interface-2.0.1 / CurryInterface.Parser.dataDecl

definition:
dataDecl :: Parser IDecl
dataDecl =
    tokenData *!*> withOptionalKind IDataDecl qualIdent <*>
    (map Ident <$> typeVariableList) <*>
    ((skipSomeWs *> tokenEqual *!*> parseList (skipSomeWs *> tokenPipe) constrDecl) <!> yield []) <*?*>
    hiddenPragma
demand:
no demanded arguments
deterministic:
deterministic operation
documentation:
--- A parser for a Data Declaration | data QualIdent [KindExpr] TypeVariableList = ConstrDeclList
failfree:
<FAILING>
indeterministic:
referentially transparent operation
infix:
no fixity defined
iotype:
{() |-> {<*>._#lambda10}}
name:
dataDecl
precedence:
no precedence defined
result-values:
{<*>._#lambda10}
signature:
String -> [(CurryInterface.Types.IDecl, String)]
solution-complete:
operation might suspend on free variables
terminating:
possibly non-terminating
totally-defined:
possibly non-reducible on same data term