wip
This commit is contained in:
parent
afd78c3b3e
commit
29d20b2273
25 changed files with 369 additions and 469 deletions
|
|
@ -58,8 +58,15 @@ wip:
|
|||
|
||||
The sad(?) part about all of this, is that I'm converging with Haskell/Lean.
|
||||
|
||||
- treat all values as polymorphic? (non-polymorphic values simply have empty set of type variables)
|
||||
|
||||
todo:
|
||||
- rename Type to a NominalType?
|
||||
const nominalType = (name, params) => ({left: name, right: params});
|
||||
type of every nominal type is (String, [Type])
|
||||
|
||||
- what about type links: they connect anything to its type... what is the type of 'anything'?
|
||||
|
||||
- treat all values as polymorphic? (non-polymorphic values simply have empty set of type variables)
|
||||
|
||||
- type inferencing can be reduced to finding a graph isomorphism?
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue