Fábio Beirão
684fa4a0c7
Return/Returns consistency for the Result module
2023-05-26 12:18:48 +02:00
Fábio Beirão
8e9569c81e
Return/Returns consistency for the Box module
2023-05-26 12:11:24 +02:00
Fábio Beirão
698c9715af
Use serialize instead of serialise
...
The rest of the documentation prefers the en-US spelling
2023-05-26 10:16:47 +02:00
Fábio Beirão
03f4798d5a
Typo in Json module: exchange
2023-05-26 10:15:46 +02:00
Fábio Beirão
07568df92b
Use optimization instead of optimisation
2023-05-26 10:11:43 +02:00
Fábio Beirão
0c3bb35d66
Remove unnecessary hashes from Dict docs
2023-05-26 10:08:14 +02:00
Fábio Beirão
fb141af353
Typo: it's/its capacity
2023-05-26 10:05:24 +02:00
Fábio Beirão
fd68772b4d
Whitespace preventing consistent format
2023-05-26 10:05:04 +02:00
Fábio Beirão
3b7245f980
Typo in "particular case"
2023-05-26 10:04:43 +02:00
Fábio Beirão
e5e68266f9
Fix small typo on List module
2023-05-26 09:58:57 +02:00
Fábio Beirão
d60f1deebc
Fix small typos on Num module
2023-05-26 09:44:31 +02:00
Fábio Beirão
364208f37c
Fix small typo on Num.div
2023-05-26 00:06:27 +02:00
Brendan Hansknecht
b4c359588e
Seed Dict and Set
...
This changes Dict and Set to have a compilation depedent seed.
The seed is not exposed to userland in anyway.
This gets a much more DOS resistant Dict and Set with no cost.
2023-05-25 09:55:48 -07:00
Ayaz Hafiz
d5f8af8021
Turn set test back on
2023-05-24 14:13:40 -05:00
Brendan Hansknecht
4cac15eb2b
remove stale comment
2023-05-24 10:48:40 -07:00
Brendan Hansknecht
877be563ba
add Hash and Eq to Dict and Set
2023-05-24 10:38:47 -07:00
Luke Boswell
4d4cfcf981
merge remote/main and update mono tests
2023-05-15 16:51:56 +10:00
Folkert
317a8880c1
better debug info if dec on invalid pointer
2023-05-14 18:01:47 +02:00
Folkert
dd8739b847
better debug info if inc on invalid pointer
2023-05-14 15:20:43 +02:00
Folkert de Vries
deb1e9952d
Merge pull request #5365 from roc-lang/dev-backend-cli
...
Dev backend list tests
2023-05-07 14:47:39 +02:00
Richard Feldman
df0ab01128
Merge pull request #5348 from basile-henry/basile/num-is-nan
...
Implement builtins for Num.isNan, Num.isInfinite, and Num.isFinite
2023-05-05 06:15:18 -04:00
Jarl André Hübenthal
e5eb5717ea
replace panic! with internal_error! in compiler modules
2023-05-03 22:11:21 +02:00
Ayaz
ba1f8ffe5f
Merge pull request #5272 from extemporalgenome/markdown-typos-20230410
...
markdown typo fixes
2023-05-03 10:24:52 -05:00
Folkert
278e2c4604
use std.debug.print
2023-05-03 14:30:03 +02:00
Folkert
85fcd71bdb
use bitcast instead of intcast
2023-05-03 14:28:22 +02:00
Basile Henry
b8aaaaabda
Implement builtins for Num.isNan, Num.isInfinite, and Num.isFinite
...
Closes #5310 and closes #5309
2023-05-03 09:33:28 +01:00
Folkert
05a9b4d601
fix that inc on list was no longer recursive
2023-05-03 01:03:09 +02:00
Folkert de Vries
a5a91d428f
Merge pull request #5336 from roc-lang/dev-backend-list-map
...
dev backend: many more builtins
2023-05-01 10:20:15 +02:00
J.Teeuwissen
b8a2ea1bf2
Merge branch 'main' into drop_specialization
2023-04-29 18:31:12 +02:00
Richard Feldman
27113b5ace
Merge pull request #5342 from agu-z/agu-z/fix-list-intersperse-docs
...
Fix `List.intersperse` docs example
2023-04-28 23:43:39 -04:00
Agustin Zubiaga
9b5cee7633
Fix List.intersperse docs example
2023-04-28 21:33:34 -03:00
Folkert
cf54304cf4
add lowlevel to inc/dec a data pointer
2023-04-28 15:30:23 +02:00
Folkert
0bf3eefbf2
dev backend: Num.isMultipleOf
2023-04-27 13:50:27 +02:00
Folkert
9357e1ce2b
export fn does not work for wasm/llvm
2023-04-27 10:44:54 +02:00
Folkert
c6c28e7c5d
implement Crash
2023-04-27 00:29:21 +02:00
J Teeuwissen
7439ee0c8c
Merge branch 'main' into drop_specialization
...
Signed-off-by: J Teeuwissen <jelleteeuwissen@hotmail.nl>
2023-04-26 20:26:37 +02:00
J.Teeuwissen
74f2b0afda
Updated refcount logic
2023-04-26 18:14:16 +02:00
J.Teeuwissen
ed46a1f2cb
lowlevel isUnique
2023-04-26 17:23:10 +02:00
Folkert de Vries
6d7e3ddc0c
Merge pull request #5326 from roc-lang/dev-backend-list-map
...
Dev backend list map
2023-04-26 14:06:23 +02:00
Folkert
312fb23567
add zig builtins for wrapped mul and shift right (for 128-bit ints)
2023-04-26 14:03:50 +02:00
Brendan Hansknecht
0e24403664
enable using other zig libaries in host instead of just str.zig
2023-04-25 14:14:35 -07:00
Folkert
2e41ef68b0
cleanup
2023-04-23 20:23:35 +02:00
Folkert
dd3d0a188e
string is empty for dev backend
2023-04-23 18:16:08 +02:00
Folkert
b59ada4bc8
implement List.map in the dev backend
2023-04-23 17:35:17 +02:00
Luke Boswell
2ff55b9704
optimise encodeString for when no escapes, add more tests various
2023-04-23 13:24:41 +10:00
Luke Boswell
eef3adcbbb
improve decodeString
2023-04-23 09:44:57 +10:00
Luke Boswell
ad9aadeb64
add more List.withCapacity optimisation
2023-04-21 14:28:09 +10:00
Luke Boswell
2b95731a5c
support null decoding, add optmisation for strig encoding
2023-04-21 14:24:32 +10:00
Luke Boswell
70de4b90dc
clean up complex example test, remove duplication
2023-04-21 14:05:41 +10:00
Luke Boswell
b71126b2ef
add encoding for field names, add encoding for string escapes
2023-04-21 14:00:21 +10:00