Commit Graph

11 Commits

Author SHA1 Message Date
Stephen Chang
1c0fa751d6 split out a define-binding-type from define-type-constructor
- document #:arg-variances and variances; #:arr
- fixes #36
- start to split type constructor macro into (not working yet)
  - ty-: expands to expanded type representation
  - ty: performs kindchecking and expands to ty-
  - this makes it easier for programmers to implement their own kind
    system, but still get some turnstile conveniences like pat expanders
2016-10-13 15:20:30 -04:00
Stephen Chang
691ba9c51c Turnstile forms no longer automatically provide; add type-out
- not auto-providing more closely adheres to idiomatic Racket
- this commit changes:
  - define-typed-syntax
    - removed #:export-as option
  - define-base-type
    - removed #:no-provide option
  - define-type-constructor
    - removed #:no-provide option
- type-out helps with providing defined types
- in examples, move define and define-type-alias to ext-stlc
- fix bug in reuse where renamed id not provided
2016-10-12 10:46:05 -04:00
AlexKnauth
a075b9b4f8 fix ~?Some pattern expander 2016-09-02 10:57:46 -04:00
AlexKnauth
3d92dbdde3 add #lang turnstile/lang; change #lang turnstile's #%module-begin 2016-08-31 18:49:25 -04:00
AlexKnauth
e9230e0ba3 remove square brackets around syntax-parse kws 2016-08-17 17:49:37 -04:00
AlexKnauth
2ddf45f8de remove brackets around e ≫ e- 2016-07-26 11:44:17 -04:00
Stephen Chang
e17ae9e5fe update extends and reuse in typecheck.rkt to:
- support paths instead of filenames
- require prefix-in by default
- fix srclocs of extends
2016-07-19 15:42:35 -04:00
AlexKnauth
308fb84792 infer instantiations for argument positions, add define/rec 2016-06-28 14:03:12 -04:00
AlexKnauth
57885d8645 infer instantiations for function positions 2016-06-28 14:01:54 -04:00
AlexKnauth
ceed899f5f add define, *, and a new join 2016-06-28 14:01:54 -04:00
AlexKnauth
310087cc97 implement turnstile/examples/infer.rkt 2016-06-28 14:01:28 -04:00