Commit graph

563 commits

Author SHA1 Message Date
Folkert
1ca0b797ea make Dict.len return a nat 2021-08-29 23:04:20 +02:00
Folkert
de7db3e730 make more things infer as NAT 2021-08-29 13:31:55 +02:00
Jared Ramirez
ced4307b46 Fix can tests 2021-08-26 11:39:21 -07:00
Jared Ramirez
4b2a63fb30 Merge branch 'trunk' of https://github.com/rtfeldman/roc into store-dec-as-str 2021-08-26 11:23:17 -07:00
Folkert
6a43be26d3 fix usize vs. u32/u64 conflict 2021-08-25 20:58:42 +02:00
Joshua Hoeflich
b57ebb6229 Remove castToNat 2021-08-19 16:11:21 -05:00
Jared Ramirez
d69b9173fc Also store f64 for things like pattern comparisons, etc 2021-08-18 17:18:13 -07:00
Joshua Hoeflich
99feb7ce67 Fix typo in comment 2021-08-18 18:23:19 -05:00
Joshua Hoeflich
2672c8ed10 NumBytesToU16 and NumBytesToU32 tested 2021-08-18 17:39:59 -05:00
Joshua Hoeflich
a4197d073c bytesToU16 and bytesToU32 have proper types 2021-08-18 15:46:53 -05:00
Joshua Hoeflich
b4f575736b castToNat working 2021-08-18 11:31:48 -05:00
Jared Ramirez
adabf70132 [WIP] Update can & pattern to store numbers as validated strs 2021-08-16 16:16:10 -07:00
Joshua Hoeflich
22e781259d TODO: Actually implement the functions 2021-08-14 19:28:13 -05:00
Joshua Hoeflich
9dad304e95 Passing arguments successfully to bytesToU16 2021-08-14 19:11:27 -05:00
Joshua Hoeflich
c8f6762deb Switch from floats to usize 2021-08-14 18:30:43 -05:00
Joshua Hoeflich
744fefc3a1 Fixed: Actually calling llvm we generate 2021-08-14 18:20:11 -05:00
Joshua Hoeflich
ff2c3d7945 Dummy implementation that doesn't do what we want 2021-08-14 17:59:53 -05:00
Folkert
24ddc4b1e8 further optimizations 2021-08-13 13:25:36 +02:00
Folkert
df83bf0d48 Merge remote-tracking branch 'origin/soa-alias' into alias-nominal-equality 2021-08-13 12:11:36 +02:00
Folkert
574e07807e turn lt into lte 2021-08-11 00:22:15 +02:00
Joshua Hoeflich
29228972c9 Renaming 2021-08-10 10:54:19 -05:00
Joshua Hoeflich
05d87314e7 Consistently triggering null pointer bug 2021-08-10 10:51:15 -05:00
Joshua Hoeflich
ba360a2dd2 Test passing in debug but not release 2021-08-09 22:03:01 -05:00
Joshua Hoeflich
8c13fecc64 Fix name 2021-08-09 20:26:27 -05:00
Joshua Hoeflich
b99a0ae953 Typo fix 2021-08-09 19:51:20 -05:00
Joshua Hoeflich
04f65bed51 Bump comment 2021-08-09 19:31:27 -05:00
Joshua Hoeflich
ae38a0d3ff Cargo fmt 2021-08-08 21:41:00 -05:00
Joshua Hoeflich
c00d400d85 Fixes merge conflict 2021-08-08 21:38:15 -05:00
Joshua Hoeflich
4231b340ee Glue code working 2021-08-08 11:06:10 -05:00
Richard Feldman
2a616103c6 Rename Str.toBytes to Str.toUtf8 2021-08-07 22:46:24 -04:00
Richard Feldman
267836226c s/CodePoint/CodePt/g 2021-08-07 21:46:20 -04:00
Folkert
d4896d3ed2 remove inlinable_string dependency 2021-08-03 21:24:19 +02:00
Folkert
ceb5cc66fa use IdentStr 2021-08-03 21:14:36 +02:00
Richard Feldman
e8fc9c5e4c Thread dep_idents through to LoadedModule 2021-08-01 10:23:16 -04:00
Richard Feldman
5c74bab0ec Persist scope after canonicalizing defs 2021-08-01 10:23:16 -04:00
Folkert
894ef2b7b2 Merge remote-tracking branch 'origin/trunk' into alias-nominal-equality 2021-07-30 23:34:16 +02:00
Folkert
e0648d348d new formatting 2021-07-30 17:13:50 +02:00
Folkert
4f03d2da36 instantiate lambda sets 2021-07-30 15:47:39 +02:00
Folkert
13b05e54e8 Merge remote-tracking branch 'origin/clippy-1.54' into alias-nominal-equality 2021-07-30 14:25:50 +02:00
Folkert
899cbeabd7 fix extra ampersands 2021-07-29 17:32:08 +02:00
Folkert
27c3d57e35 BROKEN 2021-07-29 17:22:25 +02:00
Folkert
aac0e2d9f9 add lambda set vars to host exposed alias 2021-07-29 14:55:10 +02:00
Folkert
4cefbec5c7 store lambda set in alias types 2021-07-28 15:26:25 +02:00
Folkert
2b5ec3dcf1 centralize overflow error reporting 2021-07-18 20:50:15 +02:00
Richard Feldman
53ccef0506 nightly clippy
I was on nightly for benchmarks, and these all seem reasonable.
2021-06-18 15:21:11 -04:00
Folkert
ab7f4a70a1 remove list_var 2021-06-13 16:56:59 +02:00
Folkert
02bc0036ab fix wrong tag name used in Dict.get 2021-06-13 16:54:37 +02:00
Anton-4
22d834ebd9 Merge branch 'trunk' of github.com:rtfeldman/roc into typos_ci 2021-06-07 12:33:26 +02:00
Anton-4
314503cf7f fixed typos, added typos checking to CI 2021-06-05 20:02:54 +02:00
Richard Feldman
1bd3f12776 Fix a bunch of Int docs 2021-06-03 21:31:47 -04:00