Commit Graph

194 Commits

Author SHA1 Message Date
Richard Feldman
61a05c7059
roc format examples 2022-07-06 15:10:17 -04:00
Richard Feldman
44f27c4378
roc format examples 2022-07-06 14:00:45 -04:00
Brian Carroll
f098d71f61
Make the benchmark host prompt the user for input 2022-07-01 21:57:02 +01:00
Ayaz Hafiz
9db8832e35
Rust roc_alloc rather than allocator in benchmarks platform
This is good style (I think?) and in #2226, the effect closures become
0-sized, which presently causes the ptrCast here to panic because it's
casting a nullptr. Aside of #3336 I think this is the last thing to get
the lazy effects working.
2022-06-27 18:26:06 -04:00
Richard Feldman
2dd28c6be3
Remove Package-Config.roc from examples 2022-06-16 15:21:55 -04:00
Sean Hagstrom
d9d708fc94
formatter: fix indentation for multi-line lambdas in pipeline expression 2022-06-01 08:53:13 +01:00
Richard Feldman
4eec34becf
Update to use new square brace formatting 2022-05-22 23:15:54 -04:00
Sean Hagstrom
c53f6cf2fe
formatter: remove spaces at the beginning and end of single-line square bracket expressions 2022-05-22 14:06:34 +01:00
Sean Hagstrom
08777434b6
formatter: support removing blank lines between all when branches in when expressions 2022-05-19 09:26:04 +01:00
Sean Hagstrom
fbdeec8b3b
update examples with empty record patterns formatting 2022-05-16 22:24:23 +01:00
Ayaz Hafiz
cf04af1110
roc format 2022-05-10 12:12:26 -04:00
Ayaz Hafiz
cc23e94b65
roc format 2022-05-10 09:49:52 -04:00
Ayaz Hafiz
fcc15a7c51
Avoid miscompilation on AArch64 for now
Stopgap to avoid running into the problems induced by #3046 until we
have a more permanent fix for that.
2022-05-10 09:13:11 -04:00
Richard Feldman
df7df4ccf8
Merge branch 'trunk' into mfonism/rename-num-float-type-to-frac 2022-05-08 20:54:33 -04:00
Mfon Eti-mfon
9068c2414e
Rename float functions and vars 2022-05-08 18:42:12 +01:00
Folkert
81caa96af2
Merge remote-tracking branch 'origin/trunk' into update_zig_09 2022-05-07 19:38:04 +02:00
Ayaz Hafiz
c7142da116
Correctly generate type constraints for required symbols in platform 2022-05-06 12:06:27 -04:00
Folkert
b7b86c0cde
Merge remote-tracking branch 'origin/trunk' into update_zig_09 2022-04-30 23:34:48 +02:00
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
Brian Carroll
9491d5fae9
Merge branch 'trunk' into update_zig_09 2022-04-15 21:17:25 +01: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
a69bf971f0
Merge remote-tracking branch 'origin/trunk' into update_zig_09 2022-04-06 15:38:15 +02: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
Folkert
6631845a3c
Merge remote-tracking branch 'origin/trunk' into update_zig_09 2022-02-18 22:39:44 +01:00
Folkert
1b464076b0 update benchmark host.zig 2022-02-16 15:33:44 +01: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