Commit Graph

29503 Commits

Author SHA1 Message Date
Anton-4
8c737868aa
Merge pull request #7107 from stuarth/dict-update-with-a-result
Dict.update alter fn is passed a Result
2024-09-24 19:35:59 +02:00
Anton-4
1525ddd0d6
Merge branch 'main' into dict-update-with-a-result 2024-09-24 18:03:18 +02:00
Ayaz
5f3a956137
Merge pull request #6832 from roc-lang/ayaz/optimize-list-literal-alloc
Optimize literal list construction in LLVM backend
2024-09-23 02:50:24 -04:00
Anton-4
5840d6f6eb
Merge pull request #7113 from roc-lang/tutorial-underscore-alias
Update tutorial _
2024-09-22 16:45:38 +02:00
Anton-4
568343f2e7
Update tutorial _
Support for e.g. `RunErr : _` got removed 4 months ago. [More context](https://roc.zulipchat.com/#narrow/stream/231634-beginners/topic/.E2.9C.94.20Type.20alias.20definitions.20may.20not.20use.20inferred.20types/near/472047806).

Signed-off-by: Anton-4 <17049058+Anton-4@users.noreply.github.com>
2024-09-22 16:43:37 +02:00
Sam Mohr
82036e2e2e
Merge pull request #7110 from smores56/remove-old-record-builder
Remove Old Record Builder Syntax
2024-09-21 12:29:38 -07:00
Ayaz
cef2c8ae87
Update build.rs
Signed-off-by: Ayaz <20735482+ayazhafiz@users.noreply.github.com>
2024-09-21 09:50:17 -04:00
Ayaz
9c656dd28e
Merge branch 'main' into ayaz/optimize-list-literal-alloc 2024-09-21 09:44:50 -04:00
Sam Mohr
2ea6a5d79c
Merge branch 'main' into remove-old-record-builder 2024-09-21 04:54:03 -07:00
Sam Mohr
2da08be8ef
Remove old record builder syntax 2024-09-21 04:44:44 -07:00
Agus Zubiaga
6c846a54b1
Merge pull request #7109 from roc-lang/desugar-param-patterns 2024-09-20 17:28:17 -03:00
Agus Zubiaga
5054c9990e
Desugar module param patterns before canonicalizing 2024-09-20 16:35:18 -03:00
Agus Zubiaga
3f9e957c9c
Extract record destructure desugaring into its own fn 2024-09-20 16:30:59 -03:00
Agus Zubiaga
3eadc03e28
Add failing test for multiline params 2024-09-20 16:19:56 -03:00
Stuart Hinson
9745e1931c Dict.update alter fn is passed a Result 2024-09-19 20:46:44 -04:00
Luke Boswell
9678046d91
Merge pull request #7099 from roc-lang/dependabot/npm_and_yarn/crates/compiler/checkmate/www/multi-d66d039ac5
Bump serve-static and express in /crates/compiler/checkmate/www
2024-09-19 17:54:52 +10:00
Luke Boswell
306394b98b
Merge pull request #7101 from roc-lang/dependabot/npm_and_yarn/crates/compiler/checkmate/www/multi-9423f4c335
Bump body-parser and express in /crates/compiler/checkmate/www
2024-09-19 17:54:26 +10:00
Luke Boswell
16091d953a
Merge pull request #7071 from ageron/add-list-dropat-test-case
Add a test case for List.dropAt at index in the middle of list
2024-09-19 15:38:49 +10:00
dependabot[bot]
584a6c2bd2
Bump body-parser and express in /crates/compiler/checkmate/www
Bumps [body-parser](https://github.com/expressjs/body-parser) and [express](https://github.com/expressjs/express). These dependencies needed to be updated together.

Updates `body-parser` from 1.20.2 to 1.20.3
- [Release notes](https://github.com/expressjs/body-parser/releases)
- [Changelog](https://github.com/expressjs/body-parser/blob/master/HISTORY.md)
- [Commits](https://github.com/expressjs/body-parser/compare/1.20.2...1.20.3)

Updates `express` from 4.19.2 to 4.21.0
- [Release notes](https://github.com/expressjs/express/releases)
- [Changelog](https://github.com/expressjs/express/blob/4.21.0/History.md)
- [Commits](https://github.com/expressjs/express/compare/4.19.2...4.21.0)

---
updated-dependencies:
- dependency-name: body-parser
  dependency-type: indirect
- dependency-name: express
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
2024-09-19 04:16:05 +00:00
dependabot[bot]
a9594fa75d
Bump serve-static and express in /crates/compiler/checkmate/www
Bumps [serve-static](https://github.com/expressjs/serve-static) and [express](https://github.com/expressjs/express). These dependencies needed to be updated together.

Updates `serve-static` from 1.15.0 to 1.16.2
- [Release notes](https://github.com/expressjs/serve-static/releases)
- [Changelog](https://github.com/expressjs/serve-static/blob/v1.16.2/HISTORY.md)
- [Commits](https://github.com/expressjs/serve-static/compare/v1.15.0...v1.16.2)

Updates `express` from 4.19.2 to 4.21.0
- [Release notes](https://github.com/expressjs/express/releases)
- [Changelog](https://github.com/expressjs/express/blob/4.21.0/History.md)
- [Commits](https://github.com/expressjs/express/compare/4.19.2...4.21.0)

---
updated-dependencies:
- dependency-name: serve-static
  dependency-type: indirect
- dependency-name: express
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
2024-09-19 04:16:02 +00:00
Luke Boswell
821c84fada
Merge pull request #7059 from roc-lang/roc-heap
Add `ThreadSafeRefcountedResourceHeap` as a new crate on roc
2024-09-19 14:14:55 +10:00
Aurélien Geron
c10b25cf6e
Fixes #7065 in List.dropAt, author: @bhansconnect 2024-09-19 10:43:05 +12:00
Aurélien Geron
14bfa91ff3
Merge branch 'add-list-dropat-test-case' of github.com:ageron/roc into add-list-dropat-test-case 2024-09-19 10:42:09 +12:00
Aurélien Geron
c8d8affe3e
Merge branch 'main' into add-list-dropat-test-case 2024-09-19 10:39:27 +12:00
Aurélien Geron
033d87034c
Add a test case for List.dropAt at an index located in the middle of the list 2024-09-19 10:05:48 +12:00
Brendan Hansknecht
7989ee763c
fix null check (accidentally inverted conditional) 2024-09-17 14:20:45 -07:00
Brendan Hansknecht
3e423ce418
typo 2024-09-17 13:37:11 -07:00
Brendan Hansknecht
ad7be994ce
minor cleanup 2024-09-17 13:33:33 -07:00
Brendan Hansknecht
8305affe25
more clippy 2024-09-17 13:28:28 -07:00
Brendan Hansknecht
dc538ef788
add function from basic-webserver impl 2024-09-17 13:27:39 -07:00
Brendan Hansknecht
515e2e3e3a
clippy 2024-09-17 13:26:20 -07:00
Brendan Hansknecht
3215a8f3d7
Merge pull request #7084 from roc-lang/tag-padding
Avoid explicit tag padding
2024-09-17 03:00:29 -07:00
Luke Boswell
49dedf0b7b
Merge branch 'main' into ayaz/optimize-list-literal-alloc 2024-09-17 19:44:02 +10:00
Anton-4
0149d1e612
Merge pull request #7082 from roc-lang/cleanup-pf-task
cleanup pf.Task
2024-09-17 10:21:08 +02:00
Brendan Hansknecht
4e3ec97d7a
generate array of alignment type to enforce tag data alignment 2024-09-16 17:10:49 -07:00
Brendan Hansknecht
a7eae239f0
Avoid explicit tag padding
Explicit padding changes the c-abi when passed to/returned from functions.
This is leading to incorrect loading of types like `Task U64 {}`.
2024-09-16 16:47:20 -07:00
Anton-4
4662c82ea8
cleanup pf.Task 2024-09-16 18:12:20 +02:00
Anton-4
38674aeb94
Merge pull request #7072 from ageron/remove-pf-task
Remove a couple remaining references to pf.Task
2024-09-16 17:47:31 +02:00
Richard Feldman
7df1142455
Merge pull request #7079 from roc-lang/uppercase-fix
Uppercase naming consistency in abilities docs
2024-09-14 20:15:26 -04:00
Richard Feldman
d4537dd5cc
Uppercase naming consistency
`RGBAu8` -> `RgbaU8`

Signed-off-by: Richard Feldman <oss@rtfeldman.com>
2024-09-14 10:19:04 -04:00
Aurélien Geron
b140807887
Merge branch 'main' into add-list-dropat-test-case 2024-09-14 10:55:06 +12:00
Richard Feldman
1993cd336b
Add @pmarreck to sponsors
Thank you so much, Peter! 💜

Signed-off-by: Richard Feldman <oss@rtfeldman.com>
2024-09-12 09:11:04 -04:00
Richard Feldman
89461b4b7f
Update sponsors in README
Signed-off-by: Richard Feldman <oss@rtfeldman.com>
2024-09-12 09:09:17 -04:00
Aurélien Geron
b57258f5cb
Remove a couple remaining references to pf.Task 2024-09-11 15:39:26 +12:00
Aurélien Geron
f21654a78e
Add a test case for List.dropAt at an index located in the middle of the list 2024-09-11 15:34:03 +12:00
Luke Boswell
3d9c4673af
Merge pull request #7063 from ageron/update-tutorial-on-dbg
Add a short paragraph to explain dbg forwarding, fixes #7061
2024-09-11 07:04:38 +10:00
Luke Boswell
af7766f284
Merge pull request #7064 from ageron/update-tutorial-try-op
Update the tutorial to add the ? operator
2024-09-11 07:03:58 +10:00
Anton-4
2936a37a1c
Merge pull request #7069 from svcxc/main
fixed typo in readme
2024-09-10 10:43:23 +02:00
svc
c3891bb211 fixed typo in readme 2024-09-10 10:38:37 +02:00
Aurélien Geron
557b78e784
Update www/content/tutorial.md
Good point, thanks

Co-authored-by: Elias Mulhall <eli.mulhall@gmail.com>
Signed-off-by: Aurélien Geron <ageron@users.noreply.github.com>
2024-09-08 17:21:02 +12:00