Add List.takeFisrt2, List.takeLast2 for demo

This commit is contained in:
satotake 2021-11-12 12:23:41 +00:00 committed by GitHub
parent ac733b1805
commit d63849c5a3
5 changed files with 265 additions and 0 deletions

View file

@ -1071,6 +1071,10 @@ 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_TAKE_FIRST_2: "takeFirst2"
51 LIST_TAKE_LAST_2: "takeLast2"
52 LIST_TAKE_2_TEMP: "#take2"
53 LIST_TAKE_3_TEMP: "#take3"
}
5 RESULT: "Result" => {
0 RESULT_RESULT: "Result" imported // the Result.Result type alias