Commit Graph

210 Commits

Author SHA1 Message Date
Ayaz Hafiz
f2c9fd2b48
Rename Bytes' encoder/decoder to avoid stdlib collision 2022-09-21 12:29:07 -05:00
Ayaz
211c297230
Merge pull request #4041 from KilianVounckx/opaque-bool
Opaque bool
2022-09-21 11:15:41 -05:00
Ayaz Hafiz
2c2a1eb869
Fix cli run tests 2022-09-20 14:42:08 -05:00
kilianv
610c529ba8
Update roc files to use new opaque bools 2022-09-20 14:42:04 -05:00
Ayaz Hafiz
884843205d
Update zig host for zero-size types 2022-09-20 08:32:20 -05:00
Folkert
5451c5461e
use timer in the benchmark platform 2022-08-26 18:28:40 +02:00
Folkert
9bebc9cb69
swap shift arguments in Bytes.Encode 2022-08-21 16:43:10 +02:00
kilianv
45accb8568
Swap operators in examples which use bit shifting 2022-08-21 14:16:01 +02:00
Richard Feldman
97e2900bf5
s/rtfeldman/roc-lang/g in links to GitHub repos 2022-08-12 15:24:09 -04:00
Ayaz Hafiz
29b37a10df
Correctly use module name in linked functions 2022-07-21 09:02:04 -04:00
Richard Feldman
f575807834
Merge remote-tracking branch 'origin/trunk' into outdent-infix 2022-07-16 16:08:36 -04:00
Folkert
96414cb03f
cleanup 2022-07-14 08:52:38 +02:00
Richard Feldman
7908e8c176
roc format examples 2022-07-13 23:16:09 -04:00
Ayaz Hafiz
71b078d2dc
Clone delayed type alias when there are equivalent type variables 2022-07-13 16:18:03 -04:00
Folkert
2b282230ca
fix the AStar example 2022-07-13 12:13:56 +02:00
Richard Feldman
496fd6e8bb
roc format examples 2022-07-11 13:14:01 -04:00
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