TS parser 100% done now
This commit is contained in:
2
spec.md
2
spec.md
@@ -358,8 +358,6 @@ def add = a -> b -> a + b
|
||||
- `func(arg1, arg2)`: function application. requires at least one argument. partial function applications are allowed too
|
||||
- `func(_, arg)`: bind some args from function, return funciton taking in the args with `_`, or the non-specified ones
|
||||
- `expr :: type`: down-cast type
|
||||
- `recExpr with fieldname: newFieldValue`: overwrites or adds a field to a record type.
|
||||
type checking: identical to `recExpr and {fieldname: newFieldValue}`
|
||||
- `recExpr and otherRecExpr`: "sum" fields together of both record expressions.
|
||||
type checking: phi-unify `recExpr` with `otherRecExpr`, and require that both are non-nominal record types
|
||||
- `if cond then a else b`
|
||||
|
Reference in New Issue
Block a user