Ayaz
|
596f14d173
|
Merge pull request #4203 from roc-lang/shift-signature
Have `Num.shift*By` functions shift by a `U8`
|
2022-10-05 13:26:36 -05:00 |
|
Ayaz Hafiz
|
5b833e57b5
|
Support derivation of Hash for Str and List
|
2022-10-04 14:09:40 -05:00 |
|
Ayaz
|
a08b45263b
|
Merge branch 'main' into shift-signature
Signed-off-by: Ayaz <20735482+ayazhafiz@users.noreply.github.com>
|
2022-10-04 12:58:09 -05:00 |
|
Ayaz Hafiz
|
dea7661068
|
Have Num.shift*By functions shift by a U8
302305020
|
2022-10-04 12:28:33 -05:00 |
|
Ayaz Hafiz
|
f68cb3b0ed
|
Flip order of hash signature
|
2022-10-04 12:14:07 -05:00 |
|
Ayaz Hafiz
|
eadbc0912a
|
Update the compiler to be aware of Hash
|
2022-10-04 10:22:22 -05:00 |
|
Ayaz Hafiz
|
76510ec323
|
Add Hash.roc builtin module
|
2022-10-04 10:14:29 -05:00 |
|
Jan Van Bruggen
|
f6c981294a
|
Merge pull request #4126 from roc-lang/i4064
Str.splitFirst should not find match if needle is longer than haystack
|
2022-09-29 23:30:56 -06:00 |
|
Jan Van Bruggen
|
cd5747a15c
|
Run formatter even though it makes matchesAtHelp uglier
Signed-off-by: Jan Van Bruggen <JanCVanB@pm.me>
|
2022-09-29 23:28:34 -06:00 |
|
Jan Van Bruggen
|
5d814b3ea5
|
Refactor matchesAtHelp for clarity
Signed-off-by: Jan Van Bruggen <JanCVanB@pm.me>
|
2022-09-29 23:28:27 -06:00 |
|
Ayaz Hafiz
|
c9c2f61e3e
|
Add some docs to matchesAtHelp
|
2022-09-29 22:32:16 -05:00 |
|
Ayaz Hafiz
|
1d7dc65800
|
Str.splitFirst should not find match if needle is longer than haystack
Closes #4064
|
2022-09-28 13:14:36 -05:00 |
|
Folkert
|
9106479d07
|
access out of bounds in string split
|
2022-09-28 15:17:07 +02:00 |
|
Folkert
|
f44a30cf48
|
fix off-by-one error in List.dropAt
|
2022-09-28 14:57:55 +02:00 |
|
Ayaz
|
211c297230
|
Merge pull request #4041 from KilianVounckx/opaque-bool
Opaque bool
|
2022-09-21 11:15:41 -05:00 |
|
Folkert de Vries
|
a74f5d9366
|
Merge pull request #4076 from roc-lang/collapse-void-2
Unwrap layouts containing void layouts as newtypes
|
2022-09-21 00:13:56 +02:00 |
|
kilianv
|
49319a2ffe
|
Update Bool documentation to opaque types
|
2022-09-20 14:42:04 -05:00 |
|
kilianv
|
610c529ba8
|
Update roc files to use new opaque bools
|
2022-09-20 14:42:04 -05:00 |
|
kilianv
|
6dbebd7834
|
Update Bool to be opaque
|
2022-09-20 14:42:01 -05:00 |
|
Ayaz Hafiz
|
77fbc0189e
|
Eliminate unnecessary branch in List.roc
|
2022-09-20 08:43:08 -05:00 |
|
Jan Van Bruggen
|
063464cb12
|
Fix/update path
I don't know if this file moved, but this is where it is now.
Signed-off-by: Jan Van Bruggen <JanCVanB@users.noreply.github.com>
|
2022-09-15 23:29:33 -06:00 |
|
Richard Feldman
|
620a3feb75
|
Add some tests for Str.replace___ functions
|
2022-09-12 21:05:50 -06:00 |
|
Richard Feldman
|
4ed63c548b
|
Fix type mismatches in Str.replace___ functions
...and fix/finish the draft `Str.replaceEach` implementation!
Don't be so modest, Richard :)
|
2022-09-12 21:05:38 -06:00 |
|
Jan Van Bruggen
|
9ef57f86ac
|
Add first draft of Str.replaceEach builtin
|
2022-09-12 21:03:11 -06:00 |
|
Jan Van Bruggen
|
2b65659a11
|
Add Str.replaceLast builtin
|
2022-09-12 20:37:23 -06:00 |
|
Jan Van Bruggen
|
c5b6aef21a
|
Add Str.replaceFirst builtin
|
2022-09-12 20:37:23 -06:00 |
|
Jan Van Bruggen
|
8bbfd68621
|
Add language to all fenced code blocks
See https://github.com/DavidAnson/markdownlint/blob/main/doc/Rules.md#md040
|
2022-09-09 01:12:31 -06:00 |
|
Jan Van Bruggen
|
2cbfef490a
|
Fix space positioning typo
|
2022-09-09 01:12:31 -06:00 |
|
Jan Van Bruggen
|
072a6bd002
|
Eliminate consecutive newlines
See https://github.com/DavidAnson/markdownlint/blob/main/doc/Rules.md#md012
|
2022-09-09 01:12:30 -06:00 |
|
Jan Van Bruggen
|
3219178003
|
Ensure only one h1 per .md file
See https://github.com/DavidAnson/markdownlint/blob/main/doc/Rules.md#md025
|
2022-09-07 23:27:18 -06:00 |
|
Jan Van Bruggen
|
26a1abfea8
|
Add blank lines around lists
See https://github.com/DavidAnson/markdownlint/blob/main/doc/Rules.md#md032
|
2022-09-07 23:18:03 -06:00 |
|
Jan Van Bruggen
|
e3071a22b0
|
Add blank lines around headings
See https://github.com/DavidAnson/markdownlint/blob/main/doc/Rules.md#md022
|
2022-09-07 23:18:03 -06:00 |
|
Jan Van Bruggen
|
6229eb54ca
|
Add blank lines around fenced code blocks
See https://github.com/DavidAnson/markdownlint/blob/main/doc/Rules.md#md031
|
2022-09-07 23:18:03 -06:00 |
|
Folkert de Vries
|
33ae4c2655
|
Merge branch 'main' into windows-surgical-dll
Signed-off-by: Folkert de Vries <folkert@folkertdev.nl>
|
2022-09-05 11:31:19 +02:00 |
|
Brian Carroll
|
517223e12a
|
Merge pull request #3962 from roc-lang/capacity-realloc
Use capacity better for realloc
|
2022-09-04 17:00:37 +01:00 |
|
Brian Carroll
|
173343eea2
|
builtins: relax condition for reusing an allocation
|
2022-09-04 14:37:42 +01:00 |
|
Brian Carroll
|
b1b28650e9
|
builtins: Avoid reallocating Lists when they have enough capacity
|
2022-09-04 14:37:42 +01:00 |
|
Brian Carroll
|
0423e5650f
|
builtins: remove some redundant small string checks in strToBytes
|
2022-09-04 14:37:42 +01:00 |
|
Brian Carroll
|
32b815847e
|
builtins: Remove old incorrect comment about isSmallStr and add a test to make sure
|
2022-09-04 14:37:42 +01:00 |
|
kilianv
|
97f49bf940
|
Add expect tests for Str.splitLast
|
2022-09-01 16:59:11 +02:00 |
|
kilianv
|
d89253779a
|
Add expect tests for Str.splitFirst
|
2022-09-01 16:57:19 +02:00 |
|
kilianv
|
23e430d91d
|
Fix splitFirst bug
The reason was an of-by-one error.
|
2022-09-01 16:48:04 +02:00 |
|
Folkert
|
42ef5d1977
|
build a builtins .obj file for windows cross-compilation
|
2022-08-30 13:49:47 +02:00 |
|
Richard Feldman
|
7e3a10906c
|
Merge pull request #3888 from roc-lang/windows-cross-compilation
windows cross compilation
|
2022-08-27 07:59:05 -04:00 |
|
Ayaz
|
f5e1baffda
|
Merge pull request #3887 from roc-lang/lib-dir-erro
improved lib dir error msg
|
2022-08-24 12:55:20 -05:00 |
|
Anton-4
|
53aa346f47
|
clippy
|
2022-08-24 17:32:36 +02:00 |
|
Folkert
|
8ca7ee1e14
|
build zig builtins for windows
|
2022-08-24 16:59:06 +02:00 |
|
Anton-4
|
25a5303923
|
improved lib dir error msg
|
2022-08-24 16:46:55 +02:00 |
|
Folkert
|
a22e04361c
|
Merge remote-tracking branch 'origin/main' into expect-fx-codegen
|
2022-08-23 16:28:21 +02:00 |
|
Anton-4
|
172e58f96b
|
Merge pull request #3849 from roc-lang/small-ci-rebirth
set up small-ci again
|
2022-08-22 15:46:45 +02:00 |
|