Commit Graph

24 Commits

Author SHA1 Message Date
Sam Caldwell 01a544b0d9 Allow `define`d expressions to have effects 2020-02-26 14:50:35 -05:00
Sam Caldwell 86258acc6c improve function application error messages 2020-02-26 14:50:08 -05:00
Sam Caldwell f597fdc499 internal events for typed lang 2019-08-26 11:09:30 -04:00
Sam Caldwell 963676c0c6 Change type names Know -> Asserted, \negKnow -> Retracted 2019-08-26 11:09:30 -04:00
Sam Caldwell 0711cd3232 print types different 2019-08-26 11:09:28 -04:00
Sam Caldwell 6b272ad3d3 cleanups and improvements 2019-08-26 11:09:27 -04:00
Sam Caldwell 60ed8c2677 tweak how types are printed 2019-08-26 11:09:27 -04:00
Sam Caldwell 13e988fe58 some work towards a better pattern language 2019-08-26 11:09:24 -04:00
Sam Caldwell 99d5916bd1 limited support for effect polymorphism 2019-08-26 11:09:23 -04:00
Sam Caldwell 96e9431e15 first take on match-define-like form 2019-08-26 11:09:23 -04:00
Sam Caldwell fc220a4e16 Use a mutable, compile-time table for type metadata 2019-08-26 11:09:22 -04:00
Sam Caldwell a84b80a49b Make inference slightly more lenient wrt unions
some tests not working because of syntax-property failure
2019-08-26 11:09:22 -04:00
Sam Caldwell 4420f6cd74 improve handling of type variables 2019-08-26 11:09:21 -04:00
Sam Caldwell dc0e434caa make sure begin always has a definition context 2019-08-26 11:09:20 -04:00
Sam Caldwell 68f14919d7 fix output type for actors without interests 2019-08-26 11:09:19 -04:00
Sam Caldwell 69660e02dd split out core-expressions with #%app, which is now more explicit 2019-08-26 11:09:19 -04:00
Sam Caldwell 75539d0ec3 fix ty-var bug 2019-08-26 11:09:18 -04:00
Sam Caldwell 1bdb9b7820 move definition of primitive base types 2019-08-26 11:09:18 -04:00
Sam Caldwell 97b3a9a0b5 subtyping for effect-free functions 2019-08-26 11:09:18 -04:00
Sam Caldwell 1b2527920e start on for loops 2019-08-26 11:09:17 -04:00
Sam Caldwell 899d8c460d hash tables 2019-08-26 11:09:17 -04:00
Sam Caldwell 33522647fd allow polymorphic function definitions 2019-08-26 11:09:17 -04:00
Sam Caldwell c9563cd0a2 type abstractions 2019-08-26 11:09:17 -04:00
Sam Caldwell 1c9f53590d split out files 2019-08-26 11:09:16 -04:00