Chad Stearns
43960cf1c6
unique and std work, check if delimiter is longer than str
2020-09-27 14:27:56 -04:00
Jared Ramirez
5cafbcd5ad
Add Num.atan builtin
2020-09-26 19:00:51 -07:00
Folkert
b42a49035a
fix some comments
2020-09-21 23:52:04 +02:00
Folkert
fb4a796e07
add different variants of addition
2020-09-21 23:38:10 +02:00
Folkert
95177eee5a
integer addition operations
2020-09-20 20:21:45 +02:00
Jared Ramirez
665c7c7f9f
Add Num.floor
2020-09-17 17:44:53 -07:00
Dimitar Apostolov
50223ae93c
Add canonical Expr implementation for Num.powInt
2020-09-17 11:31:13 +02:00
Richard Feldman
5d3645350d
Merge remote-tracking branch 'origin/trunk' into small-str
2020-09-16 02:23:06 -04:00
Jared Ramirez
a0402bca4d
Add Num.ceiling
2020-09-15 18:37:45 -07:00
Richard Feldman
e3d0145894
Add Str.isEmpty
2020-09-12 21:56:53 -04:00
Dimitar Apostolov
51a6e0bde0
Add canonical Expr implementation for NumPow
2020-09-10 14:34:23 +02:00
Folkert
1b42831973
implement Num.compare
2020-09-08 19:40:18 +02:00
Richard Feldman
3c39a331d7
Remove obsolete parse::ast::TypedBody
2020-09-07 09:19:25 -04:00
Folkert
25cd0a2c02
codegen for walkRight
2020-09-06 22:03:46 +02:00
Chad Stearns
5d0ec57461
List.walkRight definition in unique, std, builtins, etc. No implementation
2020-09-06 14:06:08 -04:00
Chad Stearns
13a644b03c
Used correct low level op for List.keepIf definition
2020-09-05 19:00:55 -04:00
Chad Stearns
5bd88c8901
Merge branch 'trunk' of github.com:rtfeldman/roc into list_keepIf
2020-09-05 00:47:21 -04:00
Richard Feldman
be0c8cd59b
clipp-w clipp-x clipp-y
2020-08-31 23:22:10 -04:00
Richard Feldman
37a254cef3
Interpolate strings by desugaring to Str.concat
...
We could definitely make this more efficent by
allocating enough space for the final string
and then copying the contents of each of the pieces
into it one by one. We don't do that yet though!
2020-08-31 23:14:45 -04:00
Richard Feldman
2e15443c8c
Canonicalize unicode code point escapes
2020-08-31 23:13:50 -04:00
Richard Feldman
7682e09b0a
Fix some fmt stuff
2020-08-31 23:13:50 -04:00
Richard Feldman
5b27e10095
Reproduce empty string parsing bug
2020-08-31 23:13:50 -04:00
Richard Feldman
274e7e786d
Constrain string interpolation
2020-08-31 23:13:50 -04:00
Richard Feldman
f35e43768a
Get things compiling
2020-08-31 23:13:50 -04:00
Chad Stearns
30046d1ad4
basic List.keepIf set definition, but no implementation
2020-08-29 15:47:11 -04:00
Chad Stearns
800b99d165
Try different List.map unique implementation
2020-08-22 19:46:29 -04:00
Chad Stearns
a81504720b
Str.concat tests and definition set up
2020-08-15 02:45:52 -04:00
Chad Stearns
0a725eff3c
Base definition of List.map, but not real implementation, and the tests fail
2020-08-14 02:10:20 -04:00
Folkert
b4c5c2f793
add variable to list
...
stores the list type, so we can know whether it is unique
2020-08-10 21:05:57 +02:00
Richard Feldman
d4705f2f98
Merge branch 'trunk' into refcount
2020-08-08 19:54:10 -04:00
Folkert
078c6df677
Merge remote-tracking branch 'origin/trunk' into refcount
2020-08-08 22:34:14 +02:00
Chad Stearns
a9ab550c10
List.join builtin and unification
2020-08-01 22:28:09 -04:00
Folkert
f48a661b3d
fixing tests
2020-07-31 00:49:16 +02:00
Richard Feldman
86ed9f71fc
Merge branch 'trunk' into list-prepend
2020-07-27 21:56:17 -04:00
Richard Feldman
9f9ce327d4
Lazily validate that input bytes are valid UTF-8
2020-07-27 01:10:04 -04:00
Chad Stearns
59b30ad20f
Resolve conflicts with remote
2020-07-26 21:41:38 -04:00
Chad Stearns
68b13d29fd
List prepend implementation with tests, and a few small code clarity changes to list_push implementation
2020-07-25 19:22:01 -04:00
Chad Stearns
759f1289d6
Rename List.push to List.append
2020-07-25 03:43:52 -04:00
Chad Stearns
0b078783fd
Renamed List.append to List.concat
2020-07-24 01:12:19 -04:00
Richard Feldman
dd6973d75e
Use builtin defs in modules
2020-07-22 19:34:34 -04:00
Richard Feldman
a58ef99518
Count default exprs as having used things
2020-07-22 19:33:36 -04:00
Richard Feldman
edd1a42bec
Reproduce unused optional fields bug
2020-07-22 19:33:36 -04:00
Folkert
d779e68773
parse default optional expressions in pattern matches
2020-07-22 19:33:36 -04:00
Richard Feldman
28a2f9656e
Constrain optional fields
2020-07-22 19:33:36 -04:00
Richard Feldman
43bca05cdb
Change guard to DestructType
2020-07-22 19:33:36 -04:00
Richard Feldman
c9883be8a2
Introduce optional record fields
2020-07-22 19:33:36 -04:00
Chadtech
36a259b56b
Merge branch 'trunk' into list-append
2020-07-18 21:30:51 -04:00
Richard Feldman
2925706570
Merge branch 'trunk' into fix-quicksort
2020-07-16 19:46:19 -04:00
Folkert
331a8ed5eb
error message for record update and missing module
2020-07-14 23:37:19 +02:00
Richard Feldman
5fe30be9f5
s/negate/neg
2020-07-12 22:53:03 -04:00