Commit Graph

29537 Commits

Author SHA1 Message Date
Luke Boswell
2c62f773ef
Merge pull request #7128 from roc-lang/fix-7103
Ignore final try suffix for annotated top-level defs
2024-10-02 21:02:17 +10:00
Anton-4
15dc028d4e
Merge pull request #7137 from roc-lang/dylib-error
improved dylib error
2024-10-02 12:36:01 +02:00
Anton-4
a24774c801
improve dylib error
Signed-off-by: Anton-4 <17049058+Anton-4@users.noreply.github.com>
2024-10-02 11:38:34 +02:00
Anton-4
aaeefc09b6
Merge pull request #7134 from ageron/add-docker-readme
Add docker/README.md to point to the official Docker images
2024-10-01 14:16:54 +02:00
Anton-4
28caf69217
Merge pull request #7135 from ageron/add-docker-to-install
Add a sentence on roc-lang.org/install pointing to the official Docker images
2024-10-01 10:41:44 +02:00
Aurélien Geron
e13f30f058
Add more examples 2024-10-01 14:46:11 +13:00
Aurélien Geron
1078af22aa
Add a sentence pointing to the official Docker images 2024-10-01 14:33:04 +13:00
Aurélien Geron
a293daa7bb
Add docker/README.md to point to the official Docker images 2024-10-01 14:20:37 +13:00
Anton-4
775bce294b
Merge pull request #7007 from roc-lang/str-dropping
Implement `Str.dropPrefix` and `Str.dropSuffix` builtins
2024-09-30 16:11:04 +02:00
Luke Boswell
609620da2e
Merge pull request #7131 from nathanKramer/update-intcast-docs
Add Num.intCast documentation
2024-09-30 15:37:13 +10:00
Nathan Kramer
bc1023065c
Add Num.intCast documentation
Have added GPG signing to the commit
2024-09-30 14:09:23 +10:00
Luke Boswell
a4f83a940c
update mono tests 2024-09-29 16:29:15 +10:00
Luke Boswell
34a3fd9dec
update mono tests 2024-09-29 15:06:15 +10:00
Luke Boswell
81f007940c
fix test_gen gen_str tests 2024-09-29 14:43:20 +10:00
Luke Boswell
aec3af667d
use wrapping instead of saturaing subtraction 2024-09-29 14:38:06 +10:00
Luke Boswell
3fa9712d81
remove stray comment 2024-09-29 14:36:18 +10:00
Luke Boswell
bf325bfafc
ignore zig glue in test platforms 2024-09-29 14:36:04 +10:00
Luke Boswell
760af4a04e
Merge remote-tracking branch 'remote/main' into str-dropping 2024-09-29 14:31:04 +10:00
Luke Boswell
afb247d4c3
ignore final suffix for annotated top-level defs 2024-09-29 10:57:18 +10:00
Luke Boswell
f1f7dddab7
remove old snap added by mistake in previous PR 2024-09-29 10:56:03 +10:00
Anton-4
587d0afd46
How to view code coverage
Commits:
* Code coverage

* flake lock update

* update nix rev

* flake update

* llvm-cov does not work on macos

* back to old rev
2024-09-28 18:52:51 +02:00
Anton-4
f572457ce6
Merge pull request #7124 from roc-lang/dependabot/npm_and_yarn/crates/compiler/checkmate/www/rollup-2.79.2
Bump rollup from 2.79.1 to 2.79.2 in /crates/compiler/checkmate/www
2024-09-28 14:56:24 +02:00
dependabot[bot]
e6ec4253e2
Bump rollup from 2.79.1 to 2.79.2 in /crates/compiler/checkmate/www
Bumps [rollup](https://github.com/rollup/rollup) from 2.79.1 to 2.79.2.
- [Release notes](https://github.com/rollup/rollup/releases)
- [Changelog](https://github.com/rollup/rollup/blob/master/CHANGELOG.md)
- [Commits](https://github.com/rollup/rollup/compare/v2.79.1...v2.79.2)

---
updated-dependencies:
- dependency-name: rollup
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
2024-09-28 05:19:30 +00:00
Anton-4
aa44e2c284
Merge pull request #7120 from roc-lang/statement-error-tip
add final expression tip
2024-09-27 01:32:02 +02:00
Luke Boswell
a76385e9db
Merge pull request #7115 from roc-lang/fix-7081
Desugar suffixed `ValueDef::Expect` nodes
2024-09-27 08:43:55 +10:00
Anton-4
0a0bc897f6
add final expression tip 2024-09-26 20:17:35 +02:00
Anton-4
b003d716a9
Merge pull request #7119 from roc-lang/tip2-format-fix
fix tip 2 formatting
2024-09-26 16:00:02 +02:00
Anton-4
63d95a2aba
fix tip 2 formatting
Forgot a `\` here. 

Signed-off-by: Anton-4 <17049058+Anton-4@users.noreply.github.com>
2024-09-26 14:20:26 +02:00
Anton-4
2d03697acb
Merge pull request #7046 from Hasnep/add-commit-hash-to-version-output
Add commit information to roc versions built from source
2024-09-26 14:09:58 +02:00
Hannes
058ef106af Add commit information to roc versions built from source 2024-09-25 21:12:46 +08:00
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
Luke Boswell
05f970a826
add snapshot test 2024-09-24 09:17:43 +10:00
Luke Boswell
cce33c03d6
desugar ValueDef::Expect suffixed nodes 2024-09-23 17:57:25 +10: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