Commit graph

8642 commits

Author SHA1 Message Date
Folkert
f39bc34b8f add closure union to some builtins 2021-05-14 00:25:29 +02:00
Folkert
acfaf96734 lots of progress, many bugs 2021-05-13 23:45:39 +02:00
Folkert
ce195034ee sort of stable 2021-05-13 21:34:22 +02:00
rvcas
fea2757554 feat(Expr2): implement Var(symbol) 2021-05-13 14:47:48 -04:00
rvcas
11beb10e49 feat: port over the match arm for Lookup in solve 2021-05-13 14:47:16 -04:00
rvcas
9d9c395d49 feat: reintroduce the Lookup constraint 2021-05-13 14:46:02 -04:00
Folkert
c4fc526038 working functions in list 2021-05-13 19:43:17 +02:00
Folkert
2163e01288 lowlevel List.map works 2021-05-13 19:15:17 +02:00
rvcas
a7fefb70c1 chore: use PoolVec::new(nodes, pool)
This looks better than using the zip function
and a raw for loop.
2021-05-12 20:30:19 -04:00
Folkert
f02f655e0b got some lowlevel stuff working 2021-05-13 01:39:06 +02:00
Folkert
051712c90b remove ClosureData type 2021-05-13 00:31:02 +02:00
Folkert
e63eea7389 WIP 2021-05-13 00:26:41 +02:00
Richard Feldman
ef95ec01b1
Merge branch 'trunk' into editor_ideas 2021-05-12 07:33:43 -04:00
Richard Feldman
d459af95ab
Merge pull request #1299 from rtfeldman/tskj-patch-1
Remove typo from Elm guide
2021-05-12 07:33:26 -04:00
Anton-4
b6ddf58092
Merge branch 'trunk' into editor_ideas 2021-05-12 09:54:26 +02:00
Tarjei Skjærset
7a878493bd
Remove typo from Elm guide
This part confused me when reading through the guide, but now it makes senes.

Not sure if the flow of the text makes sense now though, as this same example is repeated twice in a row:

```elm
{ name : Str, email : Str }* -> Str
```
2021-05-12 09:29:04 +02:00
Anton-4
9a8a70d1f9
More editor ideas 2021-05-11 18:15:14 +02:00
Anton-4
df2b9c34b6
Added auto search on error idea 2021-05-11 17:38:01 +02:00
Anton-4
5860fbf46b
Added Zeljko's editor inspiration. 2021-05-11 14:47:50 +02:00
Folkert de Vries
92f3a62cfa
Merge pull request #1295 from rtfeldman/constrain_global_tag
Constrain Expr2::GlobalTag
2021-05-11 12:53:24 +02:00
Anton-4
b6fe84047f
minimal reproducible example 2021-05-11 11:00:24 +02:00
Lucas
2187b6c065
Merge branch 'trunk' into constrain_global_tag 2021-05-10 18:39:49 -04:00
Richard Feldman
bfd995ba32
Merge pull request #1296 from rtfeldman/editor_idea_beginner
editor idea: show Roc cheat sheet on startup
2021-05-10 18:22:24 -04:00
Richard Feldman
883048b565
Merge pull request #1297 from rtfeldman/ci-runner-test
CI try fixing issue #1265 failed to mount
2021-05-10 18:21:46 -04:00
Folkert
d753e64b94 temporary hack to allow closures that have a lambda set of 1 2021-05-10 22:29:26 +02:00
Folkert
29157e8b45 add test 2021-05-10 21:39:11 +02:00
Folkert
9708876dd8 fix closure example 2021-05-10 21:38:17 +02:00
Anton-4
dd12266655
Removed preference to specific CI instance 2021-05-10 18:07:16 +02:00
Anton-4
62dcb0f7eb
test anton big CI 2021-05-10 17:25:26 +02:00
Anton-4
d9d08a96e7
test anton-small-vm 2021-05-10 16:22:48 +02:00
Folkert
ef2c5dba15 remove outdated comments 2021-05-10 14:01:12 +02:00
Folkert
e95d42dda3 ensure symbol passed to jump is properly specialized 2021-05-10 13:23:28 +02:00
Anton-4
de0b553431
editor idea: show Roc cheat sheet on startup
It would also be cool for demos.
2021-05-10 10:03:45 +02:00
rvcas
d8431eb635 feat(solve): add a different hack for TagName
This is interesting because at the moment I don't have the
information about whether or not this was a Global or Private Tag.
This hack gets the tests passing but we probably want something better
here.
2021-05-09 21:04:02 -04:00
rvcas
3272e9ec9a feat(Expr2): implement GlobalTag constraints 2021-05-09 21:01:25 -04:00
rvcas
8a1702f535 chore: bring TagName into scope 2021-05-09 21:00:45 -04:00
rvcas
65c0d3b7bf tests: add a test for global tags 2021-05-09 21:00:09 -04:00
Folkert
f1a8b75196 great success 2021-05-09 23:24:27 +02:00
Folkert
694a896d54 fix closure size inference 2021-05-09 16:07:52 +02:00
Folkert de Vries
31c0c86ccd
Merge branch 'trunk' into morphic-lib 2021-05-09 13:55:18 +02:00
Folkert
1023126774 build a program, find solutions 2021-05-09 13:53:40 +02:00
Folkert
5d9cf5d9a7 fix (maybe?) join points 2021-05-09 12:58:57 +02:00
Folkert
4f376bf4f8 add call spec counter 2021-05-09 12:28:23 +02:00
Richard Feldman
6ba4d33e1b
Merge pull request #1291 from rtfeldman/constrain_list
Constrain Expr2::List
2021-05-08 22:47:48 -04:00
Richard Feldman
f92358c26e
Merge branch 'trunk' into constrain_list 2021-05-08 20:54:52 -04:00
Richard Feldman
3bf394a4e7
Merge pull request #1290 from rtfeldman/editor_inspiration
Inspiration code examples, HLS in-comment testing
2021-05-08 20:54:45 -04:00
Richard Feldman
51f453b872
Merge pull request #1292 from rtfeldman/zig-list-concat
List.concat in zig
2021-05-08 20:54:01 -04:00
Folkert
8799973ffe add update mode variables 2021-05-09 01:03:29 +02:00
Folkert
e7f59ea62d use associated const 2021-05-09 00:28:06 +02:00
Folkert
fea8ab47cc implement enough for Quicksort example 2021-05-08 23:41:55 +02:00