Commit graph

4276 commits

Author SHA1 Message Date
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
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
Brendan Hansknecht
b8f0c214c2
update uitest 2023-05-24 12:46:16 -07: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
Ayaz Hafiz
cc47635634
Add open union under tuple test 2023-05-24 13:12:47 -05:00
Ayaz Hafiz
ee2a195525
s/loc_guard/loc_pattern 2023-05-24 13:12:47 -05:00
Ayaz Hafiz
2f7930dd0f
Implement annotation def for tuple 2023-05-24 13:12:41 -05:00
Ayaz Hafiz
815ae5df9d
Mark named destructures under records as open 2023-05-24 13:12:41 -05:00
Brendan Hansknecht
4cac15eb2b
remove stale comment 2023-05-24 10:48:40 -07:00
Ayaz Hafiz
5abf121efe
Correct tag ID matching of nullable wrapped tags 2023-05-24 12:42:15 -05:00
Ayaz Hafiz
bbcd9c3a52
Debug LLVM IR in tests 2023-05-24 12:41:54 -05:00
Brendan Hansknecht
877be563ba
add Hash and Eq to Dict and Set 2023-05-24 10:38:47 -07:00
J.Teeuwissen
f6ab5f5552
updated drop_specialization for boxes 2023-05-23 14:45:44 +02:00
Folkert de Vries
69a487a96a
Merge pull request #5422 from dlsmith/json-overflow-cfg-dbg
Disable some tests in debug failing with stack overflow
2023-05-18 01:50:59 +02:00
David Smith
7f1a242a7c
Disable some tests in debug failing with stack overflow 2023-05-17 16:33:59 -04:00
Agustin Zubiaga
4cd2c957ca
Format multiline reecord builder fields nicely 2023-05-17 12:48:37 -03:00
Agustin Zubiaga
5edcb31f32
Outdentable record builders 2023-05-17 12:21:39 -03:00
Agustin Zubiaga
b92c50c7be
Remove unnecessary format_record_builder_field_help argument 2023-05-17 12:17:31 -03:00