Ayaz Hafiz
|
a256947a9f
|
Move Eq to Bool
|
2022-10-12 16:37:51 -05:00 |
|
Ayaz Hafiz
|
c618ced743
|
Replace Bool.isEq with Eq.isEq
|
2022-10-12 16:37:49 -05:00 |
|
Prajwal S N
|
a3e6345257
|
builtin(list): add List.countIf
Closes #4174
Signed-off-by: Prajwal S N <prajwalnadig21@gmail.com>
|
2022-10-13 00:45:13 +05:30 |
|
Richard Feldman
|
8b3d73dfbc
|
Merge pull request #4249 from snprajwal/list-walkBckwardsUntil
builtin(list): implement List.walkBackwardsUntil
|
2022-10-08 23:47:29 -07:00 |
|
Prajwal S N
|
cbceeff902
|
builtin(list): implement List.walkBackwardsUntil
Signed-off-by: Prajwal S N <prajwalnadig21@gmail.com>
|
2022-10-08 14:23:06 +05:30 |
|
Brian Carroll
|
4bebe7e236
|
Corrections for List docs
|
2022-10-08 08:40:29 +01:00 |
|
Ayaz
|
addfa29a56
|
Merge pull request #4227 from snprajwal/list-expose-walktry
builtin(list): expose walkTry
|
2022-10-07 09:45:21 -05:00 |
|
Ayaz
|
2cf1309326
|
Update crates/compiler/builtins/roc/List.roc
Signed-off-by: Ayaz <20735482+ayazhafiz@users.noreply.github.com>
|
2022-10-06 16:19:15 -05:00 |
|
Prajwal S N
|
0f96dddc25
|
builtin(list): expose walkTry
Fixes: #4168
Signed-off-by: Prajwal S N <prajwalnadig21@gmail.com>
|
2022-10-07 00:03:18 +05:30 |
|
Ayaz Hafiz
|
5416eb7cbf
|
List dependencies in the stdlib explicitly rather than hard-coding
|
2022-10-05 18:53:49 -05:00 |
|
Ayaz
|
211c297230
|
Merge pull request #4041 from KilianVounckx/opaque-bool
Opaque bool
|
2022-09-21 11:15:41 -05:00 |
|
kilianv
|
610c529ba8
|
Update roc files to use new opaque bools
|
2022-09-20 14:42:04 -05:00 |
|
Ayaz Hafiz
|
77fbc0189e
|
Eliminate unnecessary branch in List.roc
|
2022-09-20 08:43:08 -05:00 |
|
Richard Feldman
|
4a371b9524
|
roc format List.roc
|
2022-07-25 19:15:39 +02:00 |
|
Richard Feldman
|
f216224495
|
Fix off-by-one in List.splitFirst and splitLast
|
2022-07-25 19:15:38 +02:00 |
|
Richard Feldman
|
6f1932eae4
|
Fix endsWith off-by-one error
|
2022-07-25 19:15:38 +02:00 |
|
Richard Feldman
|
d60ad6b5af
|
Fix iterateBackwards
|
2022-07-25 19:15:36 +02:00 |
|
Richard Feldman
|
1c2047fbeb
|
Rename an argument
|
2022-07-25 19:15:36 +02:00 |
|
Richard Feldman
|
3991bd31d6
|
Don't qualify iterateBackwards
|
2022-07-25 19:15:36 +02:00 |
|
Richard Feldman
|
038e999009
|
roc format List.roc
|
2022-07-25 19:15:35 +02:00 |
|
Richard Feldman
|
6a3694cf8f
|
Fix some errors and warnings
|
2022-07-25 19:15:35 +02:00 |
|
Richard Feldman
|
bae99413dd
|
Expose List.startsWith and List.endsWith
|
2022-07-25 19:15:34 +02:00 |
|
Richard Feldman
|
a5384effee
|
Improve some doc comments
|
2022-07-25 19:15:33 +02:00 |
|
Richard Feldman
|
c87f2fdee1
|
Add List.splitFirst and List.splitLast
|
2022-07-25 19:15:33 +02:00 |
|
Richard Feldman
|
87f03d1f9f
|
Add List.findLast and findLastIndex
|
2022-07-25 19:15:32 +02:00 |
|
Richard Feldman
|
46abf539bf
|
Drop unnecessary parens
|
2022-07-25 19:15:32 +02:00 |
|
Richard Feldman
|
f3b8025d8d
|
Rename List.find and findIndex to include 'First'
|
2022-07-25 19:15:32 +02:00 |
|
Richard Feldman
|
661376958c
|
Add List.startsWith and List.endsWith
|
2022-07-25 19:15:31 +02:00 |
|
Richard Feldman
|
b92a2b8dad
|
Clarify docs a bit
|
2022-07-17 21:54:36 -04:00 |
|
Richard Feldman
|
08ead32be9
|
Add List.mapTry
|
2022-07-17 21:53:01 -04:00 |
|
Richard Feldman
|
f575807834
|
Merge remote-tracking branch 'origin/trunk' into outdent-infix
|
2022-07-16 16:08:36 -04:00 |
|
Folkert de Vries
|
1b1b63aad0
|
Merge branch 'trunk' into assoc-list-dict
|
2022-07-14 16:47:50 +02:00 |
|
Richard Feldman
|
7ed35eca50
|
roc format builtins
|
2022-07-13 23:16:09 -04:00 |
|
Richard Feldman
|
5f430034f3
|
roc format List.roc
|
2022-07-12 22:04:55 -04:00 |
|
Folkert
|
4d33e32078
|
comment
|
2022-07-13 01:09:03 +02:00 |
|
Folkert
|
32207beedf
|
List.sublist: make sure input list is decremented if slice length is 0
|
2022-07-12 22:51:44 +02:00 |
|
Richard Feldman
|
d2e5efadc0
|
roc format builtins
|
2022-07-11 13:14:34 -04:00 |
|
Folkert
|
e8530eaca5
|
improve lowlevel unwrapping
|
2022-07-08 22:13:13 +02:00 |
|
Folkert
|
41768bfa97
|
new approach for defining our builtins
|
2022-07-08 13:46:34 +02:00 |
|
Folkert
|
2f18ff39dc
|
use List.appendUnsafe in List.roc
|
2022-07-07 23:20:43 +02:00 |
|
Folkert
|
56c9787e8f
|
List.appendUnsafe and List.reserve
|
2022-07-07 22:40:28 +02:00 |
|
Richard Feldman
|
7e12171b76
|
roc format builtins
|
2022-07-06 14:00:40 -04:00 |
|
Richard Feldman
|
7365da6f69
|
Merge pull request #3370 from rtfeldman/list-unreachable
List unreachable
|
2022-07-06 10:45:50 -04:00 |
|
Jan Van Bruggen
|
0002cdf8ec
|
Merge pull request #3380 from rtfeldman/3377-list-range-segfault
Fixes `List.range` segfaulting
|
2022-07-06 00:59:01 -06:00 |
|
Folkert
|
3a30e77726
|
Merge remote-tracking branch 'origin/trunk' into list-unreachable
|
2022-07-06 01:38:50 +02:00 |
|
Brian Carroll
|
557ae4dd9c
|
builtins: Implement List.mapWithIndex in pure Roc
|
2022-07-04 14:57:18 +01:00 |
|
Marten/Qqwy
|
ce0bbbcef4
|
Fix segfault of List.range 0 3
|
2022-07-03 13:16:01 +02:00 |
|
Folkert
|
eefba96a16
|
format roc code
|
2022-07-03 13:02:41 +02:00 |
|
Folkert
|
8a611fdb34
|
use unreachable to implement walk
|
2022-07-03 03:01:23 +02:00 |
|
Folkert
|
762258ae20
|
Merge remote-tracking branch 'origin/trunk' into list-unreachable
|
2022-07-03 02:54:15 +02:00 |
|