Kilian Vounckx
8dee7aeab3
Add List update function with tests and documentation
2023-05-28 20:36:27 +02:00
J.Teeuwissen
ffc19ec2a2
missing arm
2023-05-28 20:21:10 +02:00
J.Teeuwissen
d988ab5378
newlines
2023-05-28 20:09:43 +02:00
J.Teeuwissen
6e6e1ce833
Merge remote-tracking branch 'origin/main' into save-construction-children
2023-05-28 20:08:22 +02:00
Folkert de Vries
cf20c74eb9
Merge pull request #5436 from JTeeuwissen/drop-specialize-over-matches
...
allow lowlevel and match
2023-05-28 19:59:14 +02:00
J.Teeuwissen
576558b9d0
update test
2023-05-28 09:44:27 +02:00
J.Teeuwissen
c6e7d56fb6
For single update
2023-05-27 21:29:32 +02:00
J.Teeuwissen
452bafc616
possible_reuse_symbol_or_specialize
2023-05-27 19:34:01 +02:00
J.Teeuwissen
16da790fac
Order by index + clippy
2023-05-27 14:52:25 +02:00
J.Teeuwissen
378a298b45
move record index to start of update
2023-05-27 14:42:37 +02:00
Brendan Hansknecht
9eb7019e73
update mono and uitests
2023-05-26 15:44:31 -07:00
Brendan Hansknecht
e8952dfc71
switch Dict to real tuples
2023-05-26 15:39:42 -07:00
Ayaz
62cdceabd6
Merge pull request #5457 from roc-lang/tuple-aliases
...
Add test for tuple annotations
2023-05-26 17:28:56 -05:00
Ayaz Hafiz
52a719bc18
Add test for tuple annotations
...
Closes #5447
2023-05-26 12:14:41 -05:00
Ayaz Hafiz
5c43c0c91b
Gen test for hash Dec
2023-05-26 11:38:30 -05:00
Ayaz Hafiz
3585d5bb5b
Implement hash for Dec
2023-05-26 11:38:30 -05:00
Brendan Hansknecht
0b475ae979
Merge pull request #5445 from roc-lang/dict-pseudo-seed
...
Seed Dict and Set
2023-05-26 16:19:15 +00:00
Brendan Hansknecht
90636d14c8
add extra note on security
2023-05-26 07:31:35 -07:00
J.Teeuwissen
b0705a00ad
saved info and added test
2023-05-26 15:56:18 +02:00
Fábio Beirão
35820414c1
Add Types header on the List module
2023-05-26 14:01:02 +02:00
Fábio Beirão
7d84334822
Further "returns" consistency on the Num module
2023-05-26 13:57:18 +02:00
Fábio Beirão
028f28c731
Fix denominator typo
2023-05-26 13:44:59 +02:00
Fábio Beirão
9f6d8d02f7
Return/Returns Add/Adds .. consistency for the Num module
2023-05-26 13:44:30 +02:00
Fábio Beirão
00ee063095
Return/Returns consistency for the Num module
2023-05-26 13:38:34 +02:00
Fábio Beirão
ad6bd540a7
Remove redundant can
...
Better readability, IMO.
2023-05-26 13:38:33 +02:00
Fábio Beirão
658491fe52
Fix typo, these savings instead of this savings
2023-05-26 13:38:33 +02:00
Fábio Beirão
fbbe2f6294
Fix U8 example, 2^8 instead of 2^16 numbers
2023-05-26 12:25:15 +02:00
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
0c13564ad7
update mono and uitests
2023-05-25 11:01:14 -07: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
Brendan Hansknecht
8ecbd8c071
Merge pull request #5438 from roc-lang/dict-set-hash-eq
...
add Hash and Eq to Dict and Set
2023-05-25 00:38:20 +00:00
Ayaz
af3ee5e5f1
Merge pull request #5440 from roc-lang/i5429
...
Implement openness constraints under records
2023-05-24 17:03:34 -05:00
J.Teeuwissen
3e565d56b7
clippy
2023-05-24 22:11:42 +02:00
Brendan Hansknecht
b8f0c214c2
update uitest
2023-05-24 12:46:16 -07:00
J.Teeuwissen
62446b7c60
fixed perf for incremented_children
2023-05-24 21:46:14 +02:00
Ayaz Hafiz
7f639e485a
Update mono tests
2023-05-24 14:14:14 -05:00
Ayaz Hafiz
d5f8af8021
Turn set test back on
2023-05-24 14:13:40 -05:00
Ayaz Hafiz
9f45c2ff47
Correctly copy non-generalized imports as non-generalized
...
Importing a rigid variable in a non-generalized context should not keep
the variable as rigid. That's because rigid variables are only necessary
for enforcing invariants during typechecking of a generalizable
definition, but at all use sites (which are not generalized), they are
demoted to possibly-unbound type variable.
2023-05-24 14:12:24 -05:00
Ayaz Hafiz
d3120e500e
Drop translations key
2023-05-24 14:06:39 -05:00