first draft of import builtin function

This commit is contained in:
cozis
2022-08-16 17:35:58 +02:00
parent 9935142a1e
commit 0a090c4cfa
12 changed files with 168 additions and 187 deletions
+2 -2
View File
@@ -12,7 +12,7 @@ fun copy(L) {
return L2;
}
fun bubble_sort(L, less) {
fun bubbleSort(L, less) {
if less == none:
fun less(a, b) return a < b;
@@ -37,4 +37,4 @@ fun bubble_sort(L, less) {
}
print(bubble_sort([3, 2, 1, 6, 0-2]));
print(bubbleSort([3, 2, 1, 6, 0-2]));