]> Git — Sourcephile - haskell/symantic.git/commit
Complexify the type system to support rank-1 polymorphic types and terms.
authorJulien Moutinho <julm+symantic@autogeree.net>
Sun, 30 Apr 2017 20:51:07 +0000 (22:51 +0200)
committerJulien Moutinho <julm+symantic@autogeree.net>
Mon, 1 May 2017 11:02:42 +0000 (13:02 +0200)
commitfcb78395c42791188113490a26f56da1d04dfad7
tree31209b3566b01757b79919133eafe43a0f0e9602
parent16358dc8574d1b6c2db6ba05f62f4818bc15c4fb
Complexify the type system to support rank-1 polymorphic types and terms.

With polymorphic types now expressible,
the proto token workaround should be removable,
since every token should now be able to directly have a Type/Term,
thus no longer needing to be applied to a few others before having it.

As a consequence of merging Type and Term,
the symantic machinery will have to be moved to TeSym,
and thus also carried by Type. WIP.
12 files changed:
symantic/Language/Symantic/Parsing/Token.hs
symantic/Language/Symantic/Typing.hs
symantic/Language/Symantic/Typing/Compile.hs [new file with mode: 0644]
symantic/Language/Symantic/Typing/Constant.hs
symantic/Language/Symantic/Typing/Constraint.hs
symantic/Language/Symantic/Typing/Family.hs
symantic/Language/Symantic/Typing/Grammar.hs [new file with mode: 0644]
symantic/Language/Symantic/Typing/Kind.hs
symantic/Language/Symantic/Typing/Quantification.hs [new file with mode: 0644]
symantic/Language/Symantic/Typing/Term.hs [new file with mode: 0644]
symantic/Language/Symantic/Typing/Type.hs
symantic/symantic.cabal