Commit Graph

84 Commits

Author SHA1 Message Date
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
Richard Feldman
0fcef18c88
Merge pull request #1110 from rtfeldman/docs-improvements
Docs improvements
2021-03-25 22:57:44 -04:00
Richard Feldman
2d89df7f67 Improve some docs 2021-03-25 22:49:50 -04:00
Folkert
169e34b583 fix parser problem in Dict.roc 2021-03-23 16:15:56 +01:00
Folkert
4418a99c89 include header in fatal parse errors 2021-03-23 16:14:20 +01:00
Chadtech
e6d900b978 Vertical List.roc exports 2021-03-22 00:55:05 -04:00
Chadtech
35c7bb7a5a Correct errors in List.roc 2021-03-22 00:54:42 -04:00
Chadtech
41c1fa06da Beginning to implement Dict size 2021-01-16 14:55:04 -05:00
Richard Feldman
b018a15075 Revise some builtin docs 2020-12-31 23:41:57 -05:00
Richard Feldman
d388ef39e4 s/Len/Nat in builtin docs 2020-12-31 16:03:07 -05:00
Chadtech
ce69487519 Rename Dict in test_load tests to RedBlackTree 2020-12-11 23:48:40 -05:00
Chadtech
197d3c3c81 Changed 'Map' to 'Dict' in many places 2020-12-05 23:26:00 -05:00
Pablo Hirafuji
0c0f70aba0 Add more docs files and check def exposition 2020-09-27 20:41:51 -03:00
Pablo Hirafuji
aed612a75c Load docs from files 2020-09-27 19:40:54 -03:00
Richard Feldman
5d3645350d Merge remote-tracking branch 'origin/trunk' into small-str 2020-09-16 02:23:06 -04:00
Chad Stearns
a6c3d8edef Mostly implemented big and small string work for Str.concat. Just some bugs somewhere in the llvm 2020-09-12 17:39:41 -04:00
Jared Ramirez
c6b14e755c Add clarificaton to oks docs 2020-09-11 13:05:59 -07:00
Jared Ramirez
d22d609097 Revert oks type signature 2020-09-11 09:21:05 -07:00