Commit graph

101 commits

Author SHA1 Message Date
Richard Feldman
4e9b11afd4 s/0/zero 2021-06-04 08:20:33 -04:00
Richard Feldman
4d65cbf183 Clarify overflow semantics for add/sub/mul 2021-06-04 08:16:37 -04:00
Richard Feldman
7e2afa949e Document Dict.insert and Set.add panicking on NaN 2021-06-04 08:16:37 -04:00
Richard Feldman
23831e4be1 s/runtime error/panic in docs 2021-06-04 08:16:37 -04:00
Richard Feldman
253f7fed4f Add some Nat docs. 2021-06-04 08:16:37 -04:00
Richard Feldman
3b1142feb8 Fix some duplicate and missing Num docs 2021-06-04 08:16:37 -04:00
Richard Feldman
87f994039b Drop Num.hash64 2021-06-04 08:16:37 -04:00
Richard Feldman
db4ce6aef3 Revise some more Num docs. 2021-06-04 08:16:37 -04:00
Richard Feldman
b08c70985a Remove poison. 2021-06-04 08:16:37 -04:00
Richard Feldman
dcd388065c s/Float/Frac and other changes 2021-06-04 08:16:37 -04:00
Richard Feldman
d523beb54c Add isFinite and friends 2021-06-03 22:31:20 -04:00
Richard Feldman
14d20c124d Fix NumParseConfig definition 2021-06-03 21:32:22 -04:00
Richard Feldman
914d67aeed Drop obsolete Defaults.roc 2021-06-03 21:31:57 -04:00
Richard Feldman
1bd3f12776 Fix a bunch of Int docs 2021-06-03 21:31:47 -04:00
Richard Feldman
683bdc6abb Expand on parsing docs a bit 2021-06-01 22:11:48 -04:00
Richard Feldman
51b1ac77a4 Add Num.format docs 2021-05-26 21:01:38 -04:00
Richard Feldman
b3789623a6 Update Num.roc docs 2021-05-25 19:08:50 -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
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
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
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
Chadtech
5c0c81978d Use Nat instead of Int in padGraphemes Str docs 2021-04-18 17:48:20 -04:00
Richard Feldman
792a18816a Update authors in Cargo.toml 2021-04-11 08:11:52 -04:00
Chadtech
b100efa511 Set type in Set.roc 2021-03-30 01:30:47 -04:00
Chadtech
62b4ce0598 Put List private tag list 2021-03-30 00:53:20 -04:00