Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
Finn Teegen
curry-base
Commits
18f474d1
Commit
18f474d1
authored
Aug 02, 2013
by
Matthias Böhm
Browse files
documentation for expanded flag in type signatures
parent
55de02b6
Changes
1
Hide whitespace changes
Inline
Side-by-side
src/Curry/Syntax/Type.hs
View file @
18f474d1
...
...
@@ -130,6 +130,9 @@ data Decl
|
DataDecl
Position
Ident
[
Ident
]
[
ConstrDecl
]
-- data C a b = C1 a | C2 b
|
NewtypeDecl
Position
Ident
[
Ident
]
NewConstrDecl
-- newtype C a b = C a b
|
TypeDecl
Position
Ident
[
Ident
]
TypeExpr
-- type C a b = D a b
-- |as in the compile process, we pass along both expanded and unexpanded
-- type signatures, we have to provide a flag that indicates whether
-- the type signature is expanded or not.
|
TypeSig
Position
Bool
[
Ident
]
Context
TypeExpr
-- f, g :: Bool
-- |position, the type of the function, a unique id, the name
-- the equations
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment