Commit Graph

5 Commits

Author SHA1 Message Date
Stephen Chang
73e59ddec7 workaround syntax-parse error msg regressions
- just throw explicit type-error exn instead of relying on #:fail-when etc
- run-all-tests passing
2016-04-06 17:15:20 -04:00
Stephen Chang
5c5f500f39 clean up requires/provides, see other mlish language additions below
- fix bug where recursive tyvar did not have #%type tag
- records
- optional field names in type definitions
- reuse prefixes by default
- list fns
- provide explicit inst (need it for ho poly fns)
- if now allows non-false instead of bool
- small inference fixes
- add rw ocaml tests, ch6, up to "polymorphic variants"
2016-03-10 00:39:01 -05:00
Stephen Chang
b6c8bb5880 infer some lambda param types from body 2015-12-21 18:55:42 -05:00
Stephen Chang
fbc5934675 implement list functions using infer.rkt: annotations still required for top lvl fns and unapplied lams 2015-12-16 19:39:18 -05:00
Stephen Chang
a41a4cdd62 start exploring (local) inference 2015-12-11 17:01:25 -05:00