Go to file
Stephen Chang 487c8fedc5 mlish: fix define-type and match
- resolves #1
  - define-type-constructor accepts arbitrary extra "info" that is stored
    with the type
    - get-extra-info extras this info
  - define type stores extra info that is essentially a mu type
    containing all variant info
  - match must manually "unfold" this info, ie iso-recursive
- all tests passing
- mlish tests implements full nqueens example
  - no explicit instantiation of polymorphic functions
  - some polymorphic constructors require annotations when no inference possible
    - a lone nil with no other information
  - lambda params require annotations
  - top lvl fns require full signature
2016-03-02 15:34:51 -05:00
tapl mlish: fix define-type and match 2016-03-02 15:34:51 -05:00
.gitignore add .gitignore 2015-09-21 17:54:07 -04:00
notes.txt add notes file 2014-08-26 16:50:30 -04:00
racket-extended-for-implementing-typed-langs.rkt racket extended: name ldots in pattern 2014-09-16 18:56:36 -04:00
stlc-tests.rkt stlc + ext: 2014-09-04 14:20:36 -04:00
stlc-via-racket-extended.rkt stlc + ext: 2014-09-04 14:20:36 -04:00
stlc.rkt stlc + ext: 2014-09-04 14:20:36 -04:00
stlc+define+cons-tests.rkt stlc+define+cons + ext: 2014-09-04 14:22:02 -04:00
stlc+define+cons-via-racket-extended-tests.rkt stlc+define+cons + ext: 2014-09-04 14:22:02 -04:00
stlc+define+cons-via-racket-extended.rkt stlc+define+cons + ext: 2014-09-04 14:22:02 -04:00
stlc+define+cons.rkt stlc+define+cons: add void at end of list of es 2014-09-16 18:56:09 -04:00
stx-utils.rkt stx-utils: add stx-length and stx-last 2014-08-27 14:50:54 -04:00
sysf-tests.rkt stlc, sysf: make function tycon infix instead of prefix 2014-08-21 13:31:11 -04:00
sysf.rkt stlc, sysf: make function tycon infix instead of prefix 2014-08-21 13:31:11 -04:00
typecheck.rkt varargs + other primop updates 2014-09-04 14:17:42 -04:00