Commit Graph

29152 Commits

Author SHA1 Message Date
Anton-4
1c7ee681b6
Merge pull request #6953 from ageron/clarify-reserved-keywords-in-tutorial
Update and clarify reserved vs non-reserved keywords in the tutorial
2024-08-02 20:11:42 +02:00
Anton-4
96e643fc33
simplify language
Signed-off-by: Anton-4 <17049058+Anton-4@users.noreply.github.com>
2024-08-02 20:03:36 +02:00
Aurélien Geron
217f62f6be
Update and clarify reserved vs non-reserved keywords in the tutorial 2024-08-02 20:44:02 +12:00
Sam Mohr
790eabd933
Merge pull request #6952 from ageron/improve-result-chaining-doc
Improve Result-chaining documentation
2024-08-01 08:50:56 -06:00
Sam Mohr
48bdc86722
Merge branch 'main' into improve-result-chaining-doc 2024-08-01 08:49:22 -06:00
Aurélien Geron
b6d3bb63d3
Improve Result-chaining documentation 2024-08-01 22:04:07 +12:00
Luke Boswell
c64b3d92cc
Merge pull request #6949 from ageron/patch-1
Remove "backpassing" and add "the `!` operator"
2024-08-01 11:40:09 +10:00
Aurélien Geron
25fd477f64
Remove "backpassing" and add "the ! operator"
This interactive code example does not include backpassing, unless I'm mistaken. Instead, it uses the `!` operator. I also reordered the syntax sugar list to match the order they appear in the example.

Signed-off-by: Aurélien Geron <ageron@users.noreply.github.com>
2024-08-01 08:19:44 +12:00
Anton-4
7992d998a5
Merge pull request #6948 from roc-lang/test-in-debug
cargo test in debug mode
2024-07-31 20:02:05 +02:00
Anton-4
1a8a739250
cargo test in debug mode
Signed-off-by: Anton-4 <17049058+Anton-4@users.noreply.github.com>
2024-07-31 18:35:46 +02:00
Anton-4
d23426ac47
Merge pull request #6941 from roc-lang/improve-tip
improve opaque types tip
2024-07-31 13:48:51 +02:00
Anton-4
c59de3cce1
Merge pull request #6942 from roc-lang/roc-nix-debug
expose roc debug compiler in nix
2024-07-30 20:53:35 +02:00
Anton-4
5eba26ece9
Merge pull request #6943 from roc-lang/add-debug-tip
add debug tip
2024-07-30 20:50:04 +02:00
Anton-4
d55ff26ae2
add debug tip
Signed-off-by: Anton-4 <17049058+Anton-4@users.noreply.github.com>
2024-07-30 20:10:18 +02:00
Anton-4
0b9c6ff7d8
update devtools flake 2024-07-30 20:07:54 +02:00
Anton-4
3136c0b747
expose roc debug cli to nix 2024-07-30 19:58:01 +02:00
Anton-4
30a76a092b
improve opaque types tip 2024-07-30 16:06:23 +02:00
Joshua Warner
c49dc1b9d6
Merge pull request #6938 from joshuawarner32/fix-unreachable 2024-07-30 06:57:36 -07:00
Anton-4
463aa17bac
Merge pull request #6939 from ageron/patch-1
Add concatMap and equivalent of zip
2024-07-30 11:53:17 +02:00
Aurélien Geron
f0c4415eab
Add concatMap and equivalent of zip
joinMap <=> concatMap
List.map2 x y Pair <=> zip

Signed-off-by: Aurélien Geron <ageron@users.noreply.github.com>
2024-07-30 21:37:25 +12:00
Luke Boswell
8888e0a7a5
Merge pull request #6937 from joshuawarner32/fix-deprecated-interpolated-formatting
Fix auto-fixing of deprecated interpolated strings
2024-07-30 16:35:29 +10:00
Joshua Warner
939f9cb7e9
Give an error for record builders in patterns instead of crashing 2024-07-29 22:54:25 -07:00
Joshua Warner
ca037c5d0e
Merge branch 'main' into fix-deprecated-interpolated-formatting 2024-07-29 17:40:23 -07:00
Joshua Warner
4e8b36adbf
Fix auto-fixing of deprecated interpolated strings 2024-07-29 17:37:55 -07:00
Richard Feldman
a66e6862f4
Merge pull request #6926 from a-lavis/store-all-space-between-annotation-body
Preserve comments between annotation and body
2024-07-29 15:58:53 -04:00
Aidan
4bf5154610 remove spaces_middle from crates/compiler/can/src/desugar.rs 2024-07-29 13:11:57 -04:00
Aidan
ddb58a2cd5 spaces_middle -> lines_between 2024-07-29 13:06:48 -04:00
Brendan Hansknecht
5a933b0582
Merge pull request #6932 from roc-lang/blitsort
Fast Builtin Sorting
2024-07-29 09:22:35 -07:00
Aidan
2529fa0721 get rid of extra newlines 2024-07-29 11:10:16 -04:00
Aidan
0e2c42d439 update lsp crate 2024-07-29 10:08:27 -04:00
Aidan
91fdd903e7 comment -> spaces_middle 2024-07-29 10:04:32 -04:00
Aidan
125990855f Merge branch 'main' into store-all-space-between-annotation-body 2024-07-29 09:46:05 -04:00
Anton-4
e10448e92c
Merge pull request #6933 from roc-lang/bundle-windows-libs
Bundle `.lib` files when making a platform package
2024-07-29 10:29:07 +02:00
Luke Boswell
4e03b5179f
bundle .lib files when making a package 2024-07-29 14:53:24 +10:00
Luke Boswell
2a95f355ad
Merge pull request #6809 from joshuawarner32/blockparse2
Implement block / indent based parsing
2024-07-29 14:48:38 +10:00
Brendan Hansknecht
e69532d3b3
update tuning todo 2024-07-28 20:33:48 -07:00
Brendan Hansknecht
90d3bb6a08
wire indirect through everything as a comptime bool 2024-07-28 20:33:48 -07:00
Brendan Hansknecht
22896d309a
fix a another bug caught by fuzzing 2024-07-28 20:33:48 -07:00
Brendan Hansknecht
7747f06504
fix a few bugs caught by fuzzing 2024-07-28 20:33:48 -07:00
Brendan Hansknecht
400393a531
remove wrong assert 2024-07-28 20:33:48 -07:00
Brendan Hansknecht
285c43e288
make fuzzer better and add missing else 2024-07-28 20:33:48 -07:00
Brendan Hansknecht
109dba836e
clarify comments and variable names, fix small bug 2024-07-28 20:33:47 -07:00
Brendan Hansknecht
51a3ea655c
minor cleanup 2024-07-28 20:33:47 -07:00
Brendan Hansknecht
65d7f6ad56
update fuzzing to fluxsort 2024-07-28 20:33:47 -07:00
Brendan Hansknecht
eff37f6b6d
fix up flux_default_parition and add tests 2024-07-28 20:33:47 -07:00
Brendan Hansknecht
f9eeee0bde
add test for flux_reverse_partition 2024-07-28 20:33:47 -07:00
Brendan Hansknecht
6d7d9e4e57
add testing for pivot selection 2024-07-28 20:33:47 -07:00
Brendan Hansknecht
e722faaf58
add fluxsort 2024-07-28 20:33:47 -07:00
Brendan Hansknecht
c9a47ae886
add refcounting to fuzzing and fix first fuzzing bug 2024-07-28 20:33:47 -07:00
Brendan Hansknecht
15daad66fe
wire refcounting through sorting with comptime bool 2024-07-28 20:33:47 -07:00