Merge pull request #1987 from rtfeldman/builtins-list-split

Add builtin `List.split`
This commit is contained in:
Richard Feldman 2021-11-17 13:41:58 -05:00 committed by GitHub
commit 2bb007e08b
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
6 changed files with 197 additions and 13 deletions

View file

@ -1072,6 +1072,8 @@ define_builtins! {
47 LIST_FIND: "find"
48 LIST_FIND_RESULT: "#find_result" // symbol used in the definition of List.find
49 LIST_SUBLIST: "sublist"
50 LIST_SPLIT: "split"
51 LIST_SPLIT_CLOS: "#splitClos"
}
5 RESULT: "Result" => {
0 RESULT_RESULT: "Result" imported // the Result.Result type alias