Commit graph

1233 commits

Author SHA1 Message Date
Chad Stearns
c9e3531ecd Merge branch 'trunk' of github.com:rtfeldman/roc into str-split 2020-11-13 00:58:37 -05:00
Folkert
815b942f29 cleanup 2020-11-13 01:59:09 +01:00
Folkert
8db74298a2 Merge remote-tracking branch 'origin/trunk' into red-black-tree 2020-11-13 01:45:31 +01: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
4b5a26ebc6 fix problem with aliased variables 2020-11-12 22:00:32 +01:00
Folkert
bde82c3bb6 add Store constraint that does not report errors 2020-11-12 15:47:56 +01:00
Chad Stearns
4f54b87817 Merge branch 'trunk' of github.com:rtfeldman/roc into str-split 2020-11-11 02:14:31 -05:00
lrosa007
2cc4f1767e Merge branch 'trunk' into record-bool-tests 2020-11-11 00:38:37 -05: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
lrosa007
5c69fd1205 start Layout::Union case 2020-11-09 20:21:44 -05:00
Richard Feldman
54de538952
Merge pull request #666 from rtfeldman/return-function
Return function pointers and closures
2020-11-08 22:21:01 -05:00
lrosa007
de33e9b388 fix(List): contains list can be borrowed 2020-11-08 20:17:05 -05:00
Folkert
2d9f81ec9b fix mono error 2020-11-09 00:22:16 +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
Chad Stearns
5e0e3da3b7 Merging in remote trunk 2020-11-08 07:01:07 -05:00
Richard Feldman
6929c63bb8
Merge branch 'trunk' into add-pkg-config 2020-11-07 22:06:08 -05:00
Folkert
c20b40a7d2 fix zero-sized closures 2020-11-08 03:08:13 +01:00
Folkert
2267a1174a introduce PhantomEmptyStruct 2020-11-08 03:08:12 +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
Jared Ramirez
74b09605a7
Merge branch 'trunk' into builtin-count-graphemes 2020-11-07 18:49:29 -06: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
Chad Stearns
d41e940b7f Merge branch 'trunk' of github.com:rtfeldman/roc into str-split 2020-11-07 02:07:52 -05: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
7cfe5efe1b Merge remote-tracking branch 'origin/trunk' into generate-effects-module 2020-11-07 00:30:23 +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
Folkert
cb1dff1baf cleanup 2020-11-07 00:09:45 +01:00
Jared Ramirez
e112a406a2 Fix countGrapheme wiring; Reorganize zig builtins; Streamline how we export zig function 2020-11-06 16:54:28 -06:00
Jared Ramirez
f34235e050 Fix countGrapheme args borrowing 2020-11-06 16:54:28 -06:00
Jared Ramirez
63308d90e1 Add Str.countGraphemes 2020-11-06 16:54:28 -06: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
Richard Feldman
6f4d727b6f
Merge pull request #646 from rtfeldman/add_list_contains
Add List.contains
2020-11-06 08:49:59 -05:00
Folkert
3eb6c33ad8 ITS ALIVE!!! 2020-11-06 01:50:49 +01:00
Folkert
4c3f0a5002 get foreign call compiling (but not working) 2020-11-06 00:00:47 +01:00
Folkert
2f42463a97 do the IR stuff for foreign call 2020-11-05 23:50:01 +01:00
Folkert
eae797a47a introduce ForeignSymbol wrapper 2020-11-05 23:43:32 +01:00
Folkert
3cd132dd51 introduce foreign call 2020-11-05 23:35:56 +01:00
Folkert
3d0f2751f5 commit some crimes 2020-11-05 23:18:28 +01:00
lrosa007
9269f1d8a7 feat(List): start contains function 2020-11-04 21:09:15 -05:00
Folkert
b70eb3c636 cleanup 2020-11-05 01:09:48 +01:00
Folkert
3fe0140c7e clip clip clip 2020-11-05 00:59:26 +01:00