Commit graph

107 commits

Author SHA1 Message Date
Chad Stearns
8547b7de89 Commented in first_empty_list_test 2020-08-29 17:41:12 -04:00
Chad Stearns
01b3d2cf61 broke up list_prepend_tests 2020-08-29 17:41:03 -04:00
Chad Stearns
b3ce6041a3 Split List.join and List.concat 2020-08-29 16:56:35 -04:00
Chad Stearns
195925d993 Removed 'main = \_ ->' from List.map tests, since they were to work around a bug, and also split list_map and list_append tests into separate tests 2020-08-29 16:30:54 -04:00
Chad Stearns
30046d1ad4 basic List.keepIf set definition, but no implementation 2020-08-29 15:47:11 -04:00
Folkert
020b6154f9 fix passing functions by name 2020-08-26 23:34:49 +02:00
Chad Stearns
ddc15fd2ea Added some tests that should work some day 2020-08-24 03:35:25 -04:00
Chad Stearns
4ea52c139d List.map implementation 2020-08-23 19:35:21 -04:00
Chad Stearns
4d1945d062 Put List.map tests under main 2020-08-22 19:47:12 -04:00
Chad Stearns
800b99d165 Try different List.map unique implementation 2020-08-22 19:46:29 -04:00
Folkert
fa5e5ab201 back to a working version 2020-08-19 23:42:45 +02:00
Chad Stearns
0a725eff3c Base definition of List.map, but not real implementation, and the tests fail 2020-08-14 02:10:20 -04:00
Folkert
bdd8751107 start work on tail recursion 2020-08-12 12:57:20 +02:00
Folkert
8444c1fe6d always implicitly leak memory in tests (never free on the roc side) 2020-08-12 01:38:42 +02:00
Folkert
25e96fcade fix stack overflow in inc/dec 2020-08-10 22:31:20 +02:00
Folkert
ac6d72d077 fix some test failures 2020-08-10 21:41:47 +02:00
Folkert
79ea62b9d4 make uniqueness change codegen 2020-08-10 21:13:57 +02:00
Richard Feldman
d4705f2f98
Merge branch 'trunk' into refcount 2020-08-08 19:54:10 -04:00
Folkert
078c6df677 Merge remote-tracking branch 'origin/trunk' into refcount 2020-08-08 22:34:14 +02:00
Folkert
5082d40ff5 clean up test imports 2020-08-08 21:56:43 +02:00
Folkert
a015dad566 hook up list inc/dec 2020-08-08 21:42:14 +02:00
Chad Stearns
0e15f75f3b List.join works in all cases 2020-08-08 00:33:05 -04:00
Folkert
f31c116f7c fix warnings in test files 2020-08-06 21:50:22 +02:00
Folkert
378fe1d5d1 phase out old mono stuff 2020-08-06 21:05:14 +02:00
Folkert
5ff5def504 rename test macros 2020-08-06 18:42:28 +02:00
Chad Stearns
910389cef2 Fully developed list_join tests 2020-08-05 23:24:04 -04:00
Folkert
db0bed2fe7 mostly fix issues with patterns/guards/switch/cond 2020-08-06 01:09:42 +02:00
Folkert
b22fa7c9cd gen empty list correctly 2020-08-05 16:48:06 +02:00
Folkert
4e55a4bf92 more pattern matching fidling 2020-08-05 16:10:45 +02:00
Chad Stearns
450c36e3c5 List.join loops implemented, but not working 2020-08-02 15:03:12 -04:00
Chad Stearns
a9ab550c10 List.join builtin and unification 2020-08-01 22:28:09 -04:00
Folkert
5548bf136d conditionally leak memory 2020-08-01 21:37:54 +02:00
Folkert
5d22b6a9cf ensure list elements are aligned 2020-08-01 17:38:59 +02:00
Folkert
f15a50d3fa implement inc and dec for lists 2020-07-31 00:02:36 +02:00
Folkert
22471167d3 introduce Ownership to list layout 2020-07-30 13:42:47 +02:00
Chad Stearns
59b30ad20f Resolve conflicts with remote 2020-07-26 21:41:38 -04:00
Chad Stearns
68b13d29fd List prepend implementation with tests, and a few small code clarity changes to list_push implementation 2020-07-25 19:22:01 -04:00
Chad Stearns
759f1289d6 Rename List.push to List.append 2020-07-25 03:43:52 -04:00
Chad Stearns
0b078783fd Renamed List.append to List.concat 2020-07-24 01:12:19 -04:00
Richard Feldman
2ef37adc74 Add some more List.append tests 2020-07-22 19:38:15 -04:00
Richard Feldman
40f4cd9835 cargo fmt 2020-07-22 19:37:58 -04:00
Chadtech
36a259b56b
Merge branch 'trunk' into list-append 2020-07-18 21:30:51 -04:00
Chad Stearns
dc6f0daeef Organized list append code into named closures 2020-07-18 21:06:00 -04:00
Chad Stearns
a37f6d670b Re-implement loop on second input list to List.append, except use an offset pointer instead of doing second_index + first_list_len arithemtic, which is more performant 2020-07-18 14:43:06 -04:00
Chad Stearns
a5462b1043 Second loop in List append (non-functional) 2020-07-14 21:50:35 -04:00
Richard Feldman
0ab655fda4 Fix another test 2020-07-12 23:02:31 -04:00
Richard Feldman
5e687cc71c Fix a test 2020-07-12 22:58:52 -04:00
Richard Feldman
0b6053e2f6 Reproduce some more type checking bugs 2020-07-12 22:53:03 -04:00
Richard Feldman
e4915985f7 Re-disable first_empty_list 2020-07-12 22:53:03 -04:00
Richard Feldman
7c0359c6bf Revert "(REVERT THIS!) Temporarily disable some tests"
This reverts commit 0ed1892329.
2020-07-12 22:53:03 -04:00