Commit graph

172 commits

Author SHA1 Message Date
Ayaz Hafiz
f1dc9c8298
Opaques take @ : %s/\$\([A-Z]\)/@\1/g 2022-04-25 12:26:38 -04:00
Ayaz Hafiz
45eb6d3ff4
Remove private tags from Bytes 2022-04-25 10:59:11 -04:00
Sean Hagstrom
b147890b08 feat(formatter): implement outdent formatting for multiline lists and records 2022-04-24 16:52:02 +01:00
Richard Feldman
83d08a10c6
Fix type mismatch in Deriv example 2022-04-23 20:02:28 -04:00
Richard Feldman
05164aad4b
Use divTruncChecked over divFloorChecked in Deriv 2022-04-23 19:35:15 -04:00
Richard Feldman
122a1d57a0
Merge remote-tracking branch 'origin/trunk' into sqrt-unchecked 2022-04-23 15:40:30 -04:00
Richard Feldman
928f99957a
Fix warnings in Closure benchmark 2022-04-20 20:43:38 -04:00
Kevin Gillette
1908ff41c3
rem, sqrt, log are unchecked but have checked variants
mod exists but is not implemented due to lack of hardware support
(emulation, possibly in terms of rem, is needed).
2022-04-17 14:40:39 -06:00
Nikita Mounier
2ba9566c03
Remove parenthesis from Pair 2022-04-12 00:41:14 +00:00
Nikita Mounier
d32e77819b
Update benchmark. 2022-04-12 00:19:09 +00:00
Nikita Mounier
bb8b8fd0c0
Update examples / benchmarks. 2022-04-12 00:07:53 +00:00
Folkert
a4c2a008c5
fix formatting 2022-03-29 21:05:18 +02:00
Folkert
0f6e1ab2a2
Revert "disable Closure.roc example"
This reverts commit 8d85e469f7.
2022-03-27 15:29:13 +02:00
Folkert
8d85e469f7
disable Closure.roc example 2022-03-26 21:46:49 +01:00
Folkert
71c11784a0
step 1: Deriv works and has no valgrind problems 2022-03-26 17:56:56 +01:00
Folkert
6134e57921
Merge remote-tracking branch 'origin/trunk' into list-str-capacity 2022-03-18 18:13:55 +01:00
Folkert
dfaf9c86c3
git ignore wasm files in benchmarks folder 2022-03-17 19:32:34 +01:00
Folkert
9d9e7d10d4
use exposed_generic in hello world examples 2022-03-12 14:42:14 +01:00
Anton-4
56dc06a139
fixed the previous formatting change when inside longer pipeline 2022-03-09 14:07:52 +01:00
Anton-4
ba5d47d270
Merge branch 'trunk' of github.com:rtfeldman/roc into roc_fmt_fixes 2022-03-08 13:57:20 +01:00
Jan Van Bruggen
99c825aa99 Simplify example platform names 2022-03-07 19:59:29 -07:00
Jan Van Bruggen
9298baa0d2 Simplify example ignores 2022-03-07 19:59:29 -07:00
Anton-4
21a30b1e83
fixed indentation for apply args 2022-03-07 16:23:15 +01:00
Philippe Vinchon
b32e7e0e2d Update example files 2022-03-05 22:32:34 +00:00
Richard Feldman
696ec3c83e
zig fmt 2022-02-27 21:07:36 -05:00
Jan Van Bruggen
92e0f8714f
Swap List.repeat args order to put the list first 2022-02-11 16:10:29 -07:00
Folkert
885500712c remove old Effect module things 2022-02-03 23:55:02 +01:00
Folkert
db2d437d78 use new hosted module for benchmarks example 2022-02-03 22:02:18 +01:00
Folkert
27d960f720 formatting 2022-01-26 20:25:31 +01:00
Folkert
b3d605cade fix failing debug_assert 2022-01-26 20:22:18 +01:00
Folkert
4ab9a3302b use Task.loop in Deriv 2022-01-26 19:59:50 +01:00
Folkert
f6367f72a5 Merge remote-tracking branch 'origin/trunk' into tea-example 2022-01-23 21:25:35 +01:00
Folkert
f76a75b00e formatting fixes 2022-01-23 21:25:20 +01:00
hafiz
f6126cda69
Revert "Use Task.loop in examples" 2022-01-23 11:56:13 -05:00
Folkert
06d506f63b use Task.loop in Deriv 2022-01-21 20:01:45 +01:00
Folkert
a2cb9035c4 formatting 2022-01-19 23:56:14 +01:00
Folkert
5230c6f6f3 implement Effect.loop 2022-01-19 23:06:32 +01:00
Folkert
aecafe5c80 add Task.forever to platforms 2022-01-19 19:32:18 +01:00
ayazhafiz
2c41c43aea Implement saturated add/subtract 2022-01-10 22:37:08 -05:00
ayazhafiz
4ea91b54eb Fix additional unsigned sub overflow bug 2022-01-10 21:57:29 -05:00
ayazhafiz
b5225c87d8 Make sure quicksort only ever uses non-negative values
`low` can be zero, and so `low - 1` causes an integer overflow for
unsigned ints.
2022-01-10 21:10:35 -05:00
Joshua Warner
e236703c42 Add examples/benchmarks/issue2279 to gitignore 2022-01-03 20:16:38 -08:00
Folkert
fc4cea9f75 don't throw away a jump 2022-01-03 16:50:43 +01:00
Folkert
7044e95df8 fix imported function thunk 2022-01-03 16:18:53 +01:00
Folkert
06be340bee add test for this issue 2021-12-31 21:48:14 +01:00
Joshua Warner
8b58d5cbc7 Switch to always encoding package names / paths as strings
This will simplify parsing and make it possible to have a uniform lexer for the language. Previously unquoted package names were allowed to include '-'s, which aren't valid identifiers.

In the future, we'll distinguish local paths from packages in the package-manager by looking for a ".roc" suffix, which should only be present in local paths.
2021-12-23 20:11:14 -08:00
Joshua Warner
6786acb939 Remove redundant space in aliases 2021-12-21 18:16:58 -08:00
Joshua Warner
8b967f1ea8 Run formatter on all examples 2021-12-21 17:17:31 -08:00
Jan Van Bruggen
d03a51c75b Rename base package to pf everywhere, to match tutorial 2021-12-12 05:57:39 -07:00
Joshua Warner
8038758c99 Move comment in RBTreeChk.roc to _also_ not cause an internal compilation :face-palm: 2021-12-03 12:08:32 -08:00