Commit graph

43 commits

Author SHA1 Message Date
Folkert
52d36cbe72 fix closure weirdness (skipping or infinite looping) 2021-09-13 22:50:48 +02:00
Richard Feldman
e00c8b6837 Update effects example to reproduce bug 2021-09-12 10:17:56 -04:00
Folkert
b70ecf6351 make Effect simpler 2021-07-19 22:28:19 +02:00
Folkert
29e726591f make empty tag union compile 2020-12-27 01:01:18 +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
539f173472 set correct closure tag_id 2020-12-11 20:25:15 +01:00
Folkert
752a2200fd partial procs that look the same can still be different 2020-12-11 16:39:53 +01:00
Folkert
b669202d86 fix wildcards not recognized as rigids 2020-12-11 01:49:54 +01: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
a9b3c74f2e don't drop empty records from layouts 2020-12-10 15:04:42 +01:00
Folkert
1aba0534b1 use Task in the effect example 2020-12-10 14:01:56 +01:00
Folkert
f4d2263470 update examples/effect 2020-12-08 23:32:07 +01:00
Folkert
0b0ae7b287 make it work! 2020-12-08 00:15:57 +01:00
Folkert
7123269f30 successfully load package-qualified host 2020-12-07 23:24:06 +01:00
rvcas
0c8260d71a Merge branch 'trunk' into task_can 2020-12-04 20:03:27 -05:00
Folkert
4b0b5126a1 add Str.fromInt 2020-12-04 00:37:19 +01:00
rvcas
4808611fc3 fix: don't hard code base 2020-12-02 21:53:15 -05:00
Richard Feldman
7bbf9812f7 Merge branch 'parse-pkg-import' into task_can 2020-11-26 21:26:50 -05:00
Folkert
5569e328f6 add --debug mode that annotates LLVM IR with debug info 2020-11-26 21:31:52 +01:00
Folkert
1022b4ef42 fix the effect Main.roc file and lib.rs file 2020-11-26 20:53:33 +01:00
rvcas
14368fafb8 quick commit 2020-11-24 21:47:25 -05:00
Richard Feldman
ab1be6e394 Update examples 2020-11-23 00:08:49 -05:00
Folkert
70cba33fe4 fix bug in decision_tree 2020-11-13 01:39:39 +01:00
Folkert
a431af660d give better debug info for unresolved type variables 2020-11-12 22:28:58 +01:00
Folkert
cf80e2852f add test for transitive alias import 2020-11-11 01:20:30 +01:00
Folkert
3aa6455795 fix problem with recursive definition constraint gen 2020-11-10 19:40:35 +01:00
Folkert
be5c748b7f revert some debug things 2020-11-10 14:12:01 +01:00
Folkert
492f0dcc84 add Effect.always and Effect.map 2020-11-09 19:14:26 +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
3d092cb9b7 in theory allow non-function effects values
this does not work due to limitations with functions in tag unions
2020-11-08 03:07:59 +01:00
Folkert
2a872f180a some foundations for zero-sized values in closures 2020-11-08 01:55:06 +01:00
Folkert
2abdbaae7d improve effect example with getLine 2020-11-07 23:50:32 +01:00
Folkert
cb1dff1baf cleanup 2020-11-07 00:09:45 +01:00
Folkert
a6e39e66f1 generate signature for foreign symbols 2020-11-06 23:46:31 +01:00
Folkert
7a8e9fe343 special hash and dedup for SolvedType 2020-11-06 23:12:47 +01:00
Folkert
7faab5d857 remove debug prints 2020-11-06 21:51:32 +01:00
Folkert
7e6724262d make after work 2020-11-06 21:48:54 +01:00
Folkert
70d89478be use as Fx to expose closure caller 2020-11-06 02:08:25 +01:00
Folkert
d2a7c0e8ab add effects example 2020-11-05 15:35:15 +01:00