Commit graph

1503 commits

Author SHA1 Message Date
Folkert
487948e514 WIP 2021-11-02 21:08:12 +01:00
Folkert
0ad83fe990 Merge remote-tracking branch 'origin/trunk' into morphic-spec-sortwith 2021-11-01 23:11:52 +01:00
Folkert
89b850983d all higher order lowlevels have morphic specs 2021-11-01 23:05:59 +01:00
Folkert
a36fddd27a morphic for List.map, List.mapWithIndex, List.walk 2021-11-01 21:21:26 +01:00
Folkert
ca537a44b8 thread through update_mode 2021-11-01 20:12:39 +01:00
Folkert
830764221e add specification for sortWith 2021-10-31 22:31:55 +01:00
Kevin Sjöberg
0f8047cbf0 Remove dead code 2021-10-31 21:08:41 +01:00
Kevin Sjöberg
f9ed060e49 Implement List.map4 2021-10-31 21:08:41 +01:00
Folkert
c7920b2a24 refactor 2021-10-31 17:38:07 +01:00
Folkert
a40c4f4fd5 use Entry 2021-10-31 13:47:02 +01:00
Folkert
d35686f3a8 hash less 2021-10-29 21:28:11 +02:00
Folkert
eda904e63e don't register debug idents while doing work (it happens afterwards 2021-10-29 21:26:36 +02:00
Richard Feldman
2980e195ce
Merge pull request #1835 from rtfeldman/fix-ir-clones
remove clones in ir.rs
2021-10-28 22:15:17 -04:00
Dan Gieschen Knutson
02117ba512
Merge branch 'trunk' into str_trim 2021-10-27 18:01:29 -05:00
Folkert
2adaf2be7f remove clones 2021-10-27 23:07:33 +02:00
Folkert
3559a0ed6b move check 2021-10-27 22:25:37 +02:00
Folkert
456b6fd4d9 remove clone 2021-10-27 22:25:17 +02:00
Folkert
d561f2661d speedups 2021-10-27 00:01:21 +02:00
Dan Knutson
e7523ad41d add Roc wiring 2021-10-25 20:22:37 -05:00
Folkert
127b1495a7 add comment 2021-10-22 23:00:47 +02:00
Folkert
2e773e5f66 turn module_thunks into a slice 2021-10-22 22:59:00 +02:00
Folkert
6a6ea64323 abstract checking of is module thunk 2021-10-22 22:16:52 +02:00
Folkert
6400baf2c1 shrink Procs until the last moment 2021-10-22 21:42:53 +02:00
Folkert
eaaf3eb940 simplify monomorphization first steps 2021-10-22 18:12:46 +02:00
Folkert
0529d6dbc6 refactor insert_named 2021-10-22 17:22:15 +02:00
Folkert
9d343ab206 use vector instead of set 2021-10-22 16:57:14 +02:00
Folkert
5507743776 pass arguments as owned again, borrowed caused regressions 2021-10-21 21:09:48 +02:00
Folkert
031c7cc2e2 Merge remote-tracking branch 'origin/trunk' into mono-lowlevel 2021-10-18 11:11:04 +02:00
Folkert
dbf650f7ab fixes 2021-10-17 21:14:30 +02:00
Folkert
a4f7ddb1f5 rename 2021-10-17 20:45:49 +02:00
Folkert
434ccbbf68 working parallel implementation 2021-10-17 20:42:29 +02:00
Folkert
b8a2db793f Revert "Revert "code that makes new NewHigherOrderLowLevels, use this later""
This reverts commit 5052fe68a4.
2021-10-17 19:44:24 +02:00
Folkert
5052fe68a4 Revert "code that makes new NewHigherOrderLowLevels, use this later"
This reverts commit 2c702cc893.
2021-10-17 19:40:34 +02:00
Folkert
2c702cc893 code that makes new NewHigherOrderLowLevels, use this later 2021-10-17 19:39:05 +02:00
Folkert
4152519bfb formatting & catch zig overflow error 2021-10-17 18:03:40 +02:00
Chelsea Troy
0cc6e44d35
Thread through the divCeil implementation from Zig:
+ OPEN QUESTION: Evidently the Zig implementation can throw an overflow error. Do we want to do something in Roc to fix this?
2021-10-17 10:46:16 -05:00
Folkert
9763f9b51b WIP 2021-10-17 16:08:41 +02:00
Richard Feldman
8a4975ee8a
Merge pull request #1781 from rtfeldman/fix-parens
Remove parentheses from unapplied tags
2021-10-13 20:38:37 -04:00
Folkert
408aa899bf remove old code 2021-10-13 15:10:42 +02:00
Folkert
ebcee4021c flip list.walk passed function arguments 2021-10-10 12:35:03 +02:00
Folkert
94e8c62613 make things compile, base64 has a memory leak 2021-10-06 22:57:11 +02:00
Richard Feldman
c6a8bdfdbe Swap closure indices in alias analysis 2021-10-06 08:59:38 -04:00
Richard Feldman
54a1a33ddf Improve unreachable error message 2021-10-05 21:19:08 -04:00
Folkert de Vries
fa4875da83
Merge pull request #1761 from rtfeldman/giesch
Add List.dropAt
2021-10-04 15:01:17 +02:00
Richard Feldman
1054095e1a
Merge pull request #1744 from rtfeldman/call-with-closure
Call with closure
2021-10-03 15:49:34 -05:00
Dan Knutson
3baff93a97 add first version of List.dropAt
* adds an implementation with no uniqueness/mutability
2021-10-03 13:55:11 -05:00
Folkert
0690633116 spec for List.reverse 2021-10-03 13:34:09 +02:00
Folkert
486f1d540f add specifications for fromUtf8 and toUtf8 2021-10-03 13:22:03 +02:00
Folkert
7e6a3431e2 trick morphic into updating a value that comes from the host 2021-10-03 00:07:38 +02:00
Folkert
5a8547f2d4 trick morphic into specializing closure callers 2021-10-03 00:05:17 +02:00