Commit graph

819 commits

Author SHA1 Message Date
Folkert
edd23dc1d8 expose default assignments 2020-12-29 01:07:42 +01:00
Folkert
40b514a26d extract optional record field default assignments 2020-12-29 01:04:55 +01:00
Folkert
f8e04619b8 remove UnsupportedPattern variant in mono patterns 2020-12-29 00:48:56 +01:00
Folkert
fefb1f3739 error on non-exhaustive pattern in let 2020-12-28 23:22:54 +01:00
Jared Ramirez
48f964adf4 Add percision variable in fp/integer eq constraints 2020-12-28 16:22:34 -06:00
Folkert
794f8c4d41 remove Shadowed variant from mono pattern 2020-12-28 23:14:04 +01:00
Richard Feldman
7a53003313
Merge pull request #826 from rtfeldman/bughunt
Throw on overflow in Num.neg/Num.abs & fix mono bug
2020-12-26 23:41:11 -05:00
Folkert
12c7b5435a generate more runtime errors 2020-12-26 21:30:25 +01:00
Folkert
95e0faad30 show type of lambda in the repl 2020-12-26 21:19:45 +01:00
Folkert
2bcaf3921f fix #333: bug with symbol in if condition 2020-12-25 20:14:25 +01:00
Folkert
917ec9c44c make List.first/List.last work 2020-12-24 01:00:37 +01:00
rvcas
d1ae3b47af fix: uniqueness for Num types 2020-12-21 11:15:05 -05:00
rvcas
c9308c0662 add new layer to the Num types 2020-12-21 09:56:11 -05:00
Folkert
6704208fc7 more imported function fixes 2020-12-14 02:08:40 +01:00
Folkert
99a95b7200 make sure the app and Pkg-Config have different names
otherwise there could be naming conflicts. for the mono tests, we must rename the app module to our tests continue to work
2020-12-14 01:57:42 +01:00
Folkert
879cbfabe4 fix bug with imported values 2020-12-14 01:11:28 +01:00
Folkert
173f84400e specialize symbol in record construction 2020-12-13 23:29:31 +01:00
Folkert
f00bd9ba01 fix refcount bug
closures were not incremented, but were decremented. This lead to memory corruption
2020-12-13 19:57:51 +01:00
Folkert
05a6b30644 fix import of top-level thunks 2020-12-12 17:57:42 +01:00
Folkert
f1b4d535c6 add other effect functions 2020-12-11 20:46:46 +01:00
Folkert
752a2200fd partial procs that look the same can still be different 2020-12-11 16:39:53 +01:00
Richard Feldman
7b09232911 Improve an error message 2020-12-10 23:59:15 -05:00
Folkert
f5c267acf4 fix problem with empty closures still considered closures 2020-12-10 23:58:53 +01:00
Folkert
84421ad06d fix bug in closure argument unpacking 2020-12-10 20:45:59 +01:00
Folkert
d81544b061 update new test cases 2020-12-10 01:21:17 +01:00
Folkert
fc85761783 fix issue with one-element records containing a union in the closure argument 2020-12-08 16:05:51 +01:00
Folkert
fb70ce7c71 clippy 2020-11-25 20:35:24 +01:00
Folkert
7f83d9d3a0 fix mono tests, again 2020-11-25 20:06:53 +01:00
Folkert
0f1baef160 alignment in multi tag pattern match 2020-11-24 23:15:32 +01:00
Folkert
69734e837e alignment in pattern match on single element tag union 2020-11-24 22:36:09 +01:00
Folkert
ccd2e0ecf4 alignment in single element tag unions 2020-11-24 22:01:57 +01:00
Folkert
517f8f4a4a simplify handling of optional fields 2020-11-24 20:57:10 +01:00
Folkert
4db48d9f13 more clippy things 2020-11-19 22:20:00 +01:00
Folkert
bc74af1bd4 add assert that should pass, but doesn't always 2020-11-17 02:26:53 +01:00
Folkert
154b5cc29f get RBTree.balance to compile 2020-11-14 02:49:28 +01:00
Folkert
9af83bb490 display join points like a let ... in ... 2020-11-13 23:29:13 +01:00
Folkert
a431af660d give better debug info for unresolved type variables 2020-11-12 22:28:58 +01:00
Folkert
4b5a26ebc6 fix problem with aliased variables 2020-11-12 22:00:32 +01:00
Folkert
b54c1a2194 revert some debug things 2020-11-10 19:40:35 +01:00
Folkert
a48f244cc7 specialize substituted variables 2020-11-10 13:38:13 +01:00
Folkert
0d5aaf2aaa make getLine : Effect {} work 2020-11-08 23:36:08 +01:00
Folkert
1bce119b0a allow returning of funtions
e.g.

foo = Num.add
2020-11-08 15:49:24 +01:00
Folkert
c20b40a7d2 fix zero-sized closures 2020-11-08 03:08:13 +01:00
Folkert
2a872f180a some foundations for zero-sized values in closures 2020-11-08 01:55:06 +01:00
Folkert
7a6ca2453a don't add PartialProc s twice 2020-11-07 23:50:19 +01:00
Folkert
ee696ef56b fix mistake 2020-11-07 13:37:22 +01:00
Folkert
fc73679932 more clippy things 2020-11-07 01:17:50 +01:00
Folkert
dfd316c062 comment memory-leaking test 2020-11-07 00:48:43 +01:00
Folkert
9b949912d7 remove unneeded code 2020-11-07 00:28:44 +01:00
Folkert
dc199fe527 clippy 2020-11-07 00:11:40 +01:00