Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
Gilles Coremans
ASTTool
Commits
ce8948bf
Commit
ce8948bf
authored
Apr 24, 2020
by
Gilles Coremans
Browse files
Merge branch 'master' of github.com:martonbognar/ASTTool into genterm
parents
725d72a9
a0d3a69d
Changes
1
Show whitespace changes
Inline
Side-by-side
SystemF/SystemFImpl.hs
View file @
ce8948bf
...
...
@@ -79,8 +79,7 @@ wellFormed (TyVar i) env = case (nth env i) of
Just
(
ETypeVar
_
)
->
True
Just
Nil
->
False
wellFormed
(
TyArr
ty1
ty2
)
env
=
wellFormed
ty1
env
&&
wellFormed
ty2
env
wellFormed
(
TyAll
ty
)
(
ETypeVar
env
)
=
wellFormed
ty
env
wellFormed
(
TyAll
_
)
_
=
False
wellFormed
(
TyAll
ty
)
env
=
wellFormed
ty
(
ETypeVar
env
)
wellFormed
(
TyBase
)
env
=
True
typeOf
::
Term
->
Env
->
Either
String
Type
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a 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