Trevor Settles
3cb0edf958
added and_then docs
2024-03-03 12:34:56 -07:00
Trevor Settles
3f2d2dd908
added and examples
2024-03-03 11:50:24 -07:00
Trevor Settles
58c654a092
removed erroneus wrapping function
2024-03-03 11:32:18 -07:00
Trevor Settles
b7181af8f3
better formatting for word docs
2024-03-03 11:15:09 -07:00
Trevor Settles
ff19d1b834
pass and fail examples
2024-03-03 11:02:02 -07:00
Brendan Hansknecht
26e21addee
Merge pull request #6545 from roc-lang/approx-eq-update
...
Update Num.isApproxEq
2024-03-01 18:06:04 -08:00
Brendan Hansknecht
3c737c19ee
update mono tests
2024-02-29 21:33:32 -08:00
Brendan Hansknecht
f79e93cfdc
Update Num.isApproxEq
...
The function is now symmetric and using max instead of sum to separate the absolute and relative tolerance.
Reason for change here: 419553929
2024-02-29 11:30:01 -08:00
Richard Feldman
ffd72b184b
Fix tests
2024-02-27 11:35:06 -05:00
Richard Feldman
6978ca7bf3
roc format now auto-upgrades string interpolation
2024-02-26 23:08:25 -05:00
Richard Feldman
6f84e24fa5
Merge remote-tracking branch 'origin/main' into more-dollars
2024-02-26 23:06:23 -05:00
Oskar Hahn
06ab08003f
Export all symbols on wasm builds
2024-02-26 15:40:58 +01:00
JRI98
acbbdd0f7b
Improve handling of multi pattern unbound variables
2024-02-23 15:22:23 +00:00
Anton-4
b74653db8e
Merge pull request #6533 from lukewilliamboswell/encode-docs
...
Docs for `Encode` builtin
2024-02-23 15:50:52 +01:00
Anton-4
67cfe7ece0
List.concat -> List.append
...
Signed-off-by: Anton-4 <17049058+Anton-4@users.noreply.github.com>
2024-02-23 14:21:43 +01:00
Anton-4
af389a9792
minor improvement
...
Signed-off-by: Anton-4 <17049058+Anton-4@users.noreply.github.com>
2024-02-23 14:08:39 +01:00
Anton-4
df58a4ff07
fix expects
...
Signed-off-by: Anton-4 <17049058+Anton-4@users.noreply.github.com>
2024-02-23 13:56:34 +01:00
Luke Boswell
a671c4cdc9
clean up
2024-02-22 19:15:01 +11:00
Luke Boswell
921c90a460
roc-gpt attempt
2024-02-22 19:04:18 +11:00
Anton-4
b5f68bc020
Merge pull request #6525 from roc-lang/fix_text_contrast
...
less colors and more contrast in terminal
2024-02-20 15:46:13 +01:00
Richard Feldman
3b3a330d73
Merge pull request #6422 from roc-lang/remove-nat
...
Remove `Nat`
2024-02-20 09:45:36 -05:00
Richard Feldman
12aa775f54
Update mono tests
2024-02-17 13:20:34 -05:00
Richard Feldman
739565e836
Revert "Remove obsolete ListLenUsize"
...
This reverts commit ad1bca4ac9c40d336522f944df60d61a814435dd.
2024-02-17 13:20:34 -05:00
Richard Feldman
87d4760356
Remove obsolete ListLenUsize
2024-02-17 13:20:34 -05:00
Richard Feldman
762f52b714
Use ListLenU64 where it's needed over ListLenUsize
2024-02-17 13:20:33 -05:00
Richard Feldman
37b154df4f
Remove Str.fromUtf8Range
...
Seamless slices make this obsolete!
2024-02-17 13:20:33 -05:00
Richard Feldman
74e58d3d51
Fix decode_from_utf8_result
2024-02-17 13:20:33 -05:00
Anton-4
f66711d53e
re-use strip_colors
2024-02-16 16:32:46 +01:00
Richard Feldman
3b55b64ca6
Update mono tests
2024-02-15 06:47:14 -05:00
Richard Feldman
ada83561e5
Split ListLen into ListLenU64 and ListLenUsize
...
The usize one gets used internally for things like
pattern matches. This is both more efficient (means
they don't have to do unnecessary casts) and also
less error-prone due to e.g. comparing length to
capacity, which is usize.
2024-02-14 21:00:49 -05:00
Richard Feldman
a15cc0589c
Revert "Fix some usize -> u64 in List patterns"
...
This reverts commit e8a0b0930d
.
2024-02-14 20:17:14 -05:00
Richard Feldman
30712d352a
Silence some unused test macro warnings
2024-02-14 20:16:39 -05:00
Richard Feldman
c2ab73c115
Add a TODO comment for later
2024-02-14 20:16:28 -05:00
Richard Feldman
3aec2a9182
Address some unused warnings
2024-02-14 13:47:26 -05:00
Richard Feldman
adfaefd4b7
Fix some more usize -> u64 in gen tests
2024-02-14 13:43:49 -05:00
Anton-4
719e32e0f0
clippy
2024-02-14 18:18:16 +01:00
Richard Feldman
d378a14414
Minor zig refactor
2024-02-13 19:49:11 -05:00
Richard Feldman
5fe9c0d7a3
Remove obsolete wasm-specific test cfg
2024-02-13 12:58:42 -05:00
Richard Feldman
e8a0b0930d
Fix some usize -> u64 in List patterns
2024-02-13 12:50:55 -05:00
Richard Feldman
b2ce7e5fcf
Rearrange where usize -> u64 conversions happen
2024-02-13 12:50:40 -05:00
Folkert
7c104e291b
fix two repl panics
...
they now hit a runtime error and then report the type errors that caused the crash
2024-02-11 19:04:26 +01:00
Richard Feldman
ca8f83b896
Use usize instead of pointer type for wasm tests
2024-02-11 12:35:37 -05:00
Richard Feldman
24a38c4a26
Merge remote-tracking branch 'origin/main' into remove-nat
2024-02-11 12:26:36 -05:00
Richard Feldman
50ea255703
Fix some tests that were expecting usize over u64
2024-02-11 12:21:50 -05:00
Anton-4
d08bda6b01
update filenames to new rules
2024-02-09 19:46:39 +01:00
Anton-4
2b64123dbb
clippy
2024-02-09 19:20:41 +01:00
Anton-4
3eec1f4bb0
Merge branch 'main' into ensure-roc-files
2024-02-09 19:15:13 +01:00
Luke Boswell
448c29353e
Merge pull request #6134 from faldor20/lsp_completion
...
Support for completion in the language server
2024-02-09 18:43:40 +11:00
Trevor Settles
cd4adeb9c1
added nicer indentation
2024-02-08 16:37:46 -07:00
Trevor Settles
5f6d259e5d
updated error messages
2024-02-08 15:25:15 -07:00