Folkert
ca78439756
working Set.walk
2021-05-14 12:35:44 +02:00
Folkert
d25b1dc549
fix final list test
2021-05-14 01:02:16 +02:00
Folkert
1ee1a8114b
more builtins
2021-05-14 00:41:39 +02:00
Folkert
f39bc34b8f
add closure union to some builtins
2021-05-14 00:25:29 +02:00
Folkert
2163e01288
lowlevel List.map works
2021-05-13 19:15:17 +02:00
Folkert
e63eea7389
WIP
2021-05-13 00:26:41 +02:00
Eric Henry
eda462c6e9
implement list.concat in zig
2021-05-08 14:39:06 -04:00
Richard Feldman
29633f03d1
Merge remote-tracking branch 'origin/trunk' into module-level-documentation
2021-05-02 22:20:41 -04:00
Richard Feldman
83dde26cd0
Fix Str.startsWithCodePoint docs
2021-05-02 22:16:58 -04:00
Richard Feldman
465c5fa18a
Merge pull request #1260 from rtfeldman/parse-str
...
implement startsWithCodePoint
2021-05-02 22:15:53 -04:00
Chadtech
0e39675d68
Add Usv type to Str exports, and reformat Str interface generally
2021-05-02 14:31:17 -04:00
Chadtech
cf06eb8737
Add Bytes type to Bytes.roc
2021-05-02 14:29:57 -04:00
Folkert
c071cfba13
implement startsWithCodePoint
2021-05-02 19:26:08 +02:00
Richard Feldman
4533ee034c
Add Str.chompCodePoint
2021-05-02 12:15:14 -04:00
Richard Feldman
9351dc3d14
Revise Str.parseGrapheme docs
2021-05-02 12:10:39 -04:00
Richard Feldman
0f5958781f
Add Str.startsWithCodePoint and Str.parseCodePoint
2021-05-02 12:10:39 -04:00
Richard Feldman
4d1571c39d
Drop Num.endi
...
It's [not portable](https://doc.rust-lang.org/std/primitive.u32.html#method.to_ne_bytes ),
and apparently (in a Rust discussion somewhere) it's been said that the
host endianness is very rarely useful in user code. Given all that, it seems
reasonable to leave it up to platforms to expose it (or not).
2021-05-02 12:10:39 -04:00
Richard Feldman
e5ebf9c4ef
Add Byte Order Mark concept
2021-05-02 12:10:39 -04:00
Richard Feldman
877cc328d2
Move things into roc/bytes and roc/unicode
2021-05-02 12:10:39 -04:00
Folkert
839095942d
reallocate in strings
2021-05-01 23:16:34 +02:00
Folkert
b79230c069
refactor reallocate
2021-05-01 23:16:34 +02:00
Folkert
314b7e41fd
use realloc in List.append
2021-05-01 22:01:18 +02:00
Folkert
586727f74a
list single in zig
2021-05-01 16:38:11 +02:00
Richard Feldman
81014c3790
First-class Usv type
2021-04-29 21:41:04 -04:00
Richard Feldman
391a4f13db
Revise parser APIs a bit
2021-04-29 20:26:18 -04:00
Richard Feldman
2181558e69
Delete obsolete doc
2021-04-29 19:49:38 -04:00
Richard Feldman
d055a0e659
Revise parsing functions
2021-04-28 21:48:09 -04:00
Richard Feldman
e23d526a4c
Go back to monomorphic Str
2021-04-26 21:18:43 -04:00
Richard Feldman
63fe9e0f2e
Expose a bunch of things from Bytes
2021-04-26 08:07:18 -04:00
Richard Feldman
01bf309e38
Add parsePast functions
2021-04-26 07:57:54 -04:00
Richard Feldman
72d5cc6351
Add warning on Bytes.inStr
2021-04-26 01:05:42 -04:00
Richard Feldman
f56636ac7e
Revert "Try out NBO and RBO terminology"
...
This reverts commit 4c51ed2dd3
.
2021-04-26 01:02:46 -04:00
Richard Feldman
4c51ed2dd3
Try out NBO and RBO terminology
2021-04-26 00:43:58 -04:00
Richard Feldman
41ba015dcd
Drop host endianness helpers
2021-04-26 00:35:24 -04:00
Richard Feldman
59b4d65880
s/native/host endianness
...
The term "host" seems to be more commonly used.
2021-04-26 00:29:40 -04:00
Richard Feldman
2ef6594710
Remove Parser builtin module
2021-04-26 00:21:03 -04:00
Richard Feldman
3b1c9da544
Add Bytes builtin
2021-04-26 00:21:03 -04:00
Richard Feldman
bd1f0a39b6
Bool parser doesn't make sense
2021-04-26 00:21:03 -04:00
Richard Feldman
1780e2bf19
Try giving Str a type parameter
2021-04-26 00:21:03 -04:00
Richard Feldman
421a625515
Add List.startsWith and endsWith
2021-04-26 00:21:03 -04:00
Richard Feldman
0f2eb12aa8
Add Parser builtin docs
2021-04-26 00:21:03 -04:00
Richard Feldman
218dff19cc
Add Str.lines
2021-04-26 00:21:03 -04:00
Folkert
42d065af45
move List.join to zig
2021-04-25 21:43:15 +02:00
Richard Feldman
0a50b0b488
Change license to UPL-1.0
...
Closes https://github.com/rtfeldman/roc/issues/1199
2021-04-21 19:18:44 -04:00
Chadtech
5c0c81978d
Use Nat instead of Int in padGraphemes Str docs
2021-04-18 17:48:20 -04:00
Folkert
870adb20a8
use decref to deallocate RocStr in zig code
2021-04-14 16:53:36 +02:00
Richard Feldman
6ce060bd25
Merge branch 'trunk' into fix-walk-backwards
2021-04-11 12:11:34 -04:00
Richard Feldman
04aa9f4faa
Synchronize walkBackwards with walk
2021-04-11 12:10:45 -04:00
Richard Feldman
792a18816a
Update authors in Cargo.toml
2021-04-11 08:11:52 -04:00
Richard Feldman
e552ce73b9
Merge pull request #1153 from rtfeldman/zig-swap-element
...
Zig swap element
2021-04-05 21:36:12 -04:00