Skip to content

Commit

Permalink
update typescript
Browse files Browse the repository at this point in the history
  • Loading branch information
xieyuheng committed Jan 8, 2025
1 parent ac40310 commit cf750bd
Show file tree
Hide file tree
Showing 328 changed files with 1,008 additions and 1,023 deletions.

This file was deleted.

36 changes: 0 additions & 36 deletions docs/examples/books/the-reasoned-schemer/08-just-a-bit-more.ch.out

This file was deleted.

1 change: 0 additions & 1 deletion docs/examples/tests/globals/equal.ch.out

This file was deleted.

1 change: 0 additions & 1 deletion docs/examples/tests/module/ABC.ch.out

This file was deleted.

Original file line number Diff line number Diff line change
@@ -1,3 +1,67 @@
[]
[]
["pea"]
["pea"]
[_.0]
[_.0]
[_.0]
[_.0]
[[_.0]]
[_.0]
[_.0]
["pod"]
[[_.0, _.0]]
[[_.0, _.1]]
[[_.0, _.1]]
[[_.0, _.1, _.0]]
[]
[]
[_.0]
["corn"]
[]
[]
[]
["corn"]
["tea", "cup"]
[
["tea", "tea"],
["tea", "cup"],
["cup", "tea"],
["cup", "cup"]
]
[["tea", _.0], ["cup", _.0]]
[["tea", _.0], ["cup", _.0]]
["a"]
[_.0]
["pear"]
[["grape", "a"]]
["o"]
[[["raisin", "pear"], "a"]]
[_.0]
["o"]
[["a", "c", "o", "r", "n"]]
[[["a", "b", "c"], "d", "e"]]
["d"]
[["e", "a", "d", "c"]]
["d"]
[["d", "a", "d", "c"]]
[["d", "a", "d", "c"]]
[["b", "o", "n", "u", "s"]]
[]
[_.0]
[[]]
[[_.0, _.1, "salad"]]
[_.0]
[]
[]
[[_.0 | _.1]]
[_.0]
[_.0]
[_.0]
[]
[]
[]
[]
[_.0]
[[]]
[
Expand Down
Original file line number Diff line number Diff line change
@@ -1,3 +1,34 @@
["a"]
[_.0]
["pear"]
[["grape", "a"]]
["o"]
[[["raisin", "pear"], "a"]]
[_.0]
["o"]
[["a", "c", "o", "r", "n"]]
[[["a", "b", "c"], "d", "e"]]
["d"]
[["e", "a", "d", "c"]]
["d"]
[["d", "a", "d", "c"]]
[["d", "a", "d", "c"]]
[["b", "o", "n", "u", "s"]]
[]
[_.0]
[[]]
[[_.0, _.1, "salad"]]
[_.0]
[]
[]
[[_.0 | _.1]]
[_.0]
[_.0]
[_.0]
[]
[]
[]
[]
[[1, 2, 3, 4, 5]]
[[4, 5]]
[]
Expand Down
Original file line number Diff line number Diff line change
@@ -1,3 +1,34 @@
["a"]
[_.0]
["pear"]
[["grape", "a"]]
["o"]
[[["raisin", "pear"], "a"]]
[_.0]
["o"]
[["a", "c", "o", "r", "n"]]
[[["a", "b", "c"], "d", "e"]]
["d"]
[["e", "a", "d", "c"]]
["d"]
[["d", "a", "d", "c"]]
[["d", "a", "d", "c"]]
[["b", "o", "n", "u", "s"]]
[]
[_.0]
[[]]
[[_.0, _.1, "salad"]]
[_.0]
[]
[]
[[_.0 | _.1]]
[_.0]
[_.0]
[_.0]
[]
[]
[]
[]
[["fig", "beet", "roll", "pea"]]
[]
[]
Expand Down
38 changes: 38 additions & 0 deletions examples/books/the-reasoned-schemer/06-the-fun-never-ends.ch.out
Original file line number Diff line number Diff line change
@@ -0,0 +1,38 @@
[]
[]
["pea"]
["pea"]
[_.0]
[_.0]
[_.0]
[_.0]
[[_.0]]
[_.0]
[_.0]
["pod"]
[[_.0, _.0]]
[[_.0, _.1]]
[[_.0, _.1]]
[[_.0, _.1, _.0]]
[]
[]
[_.0]
["corn"]
[]
[]
[]
["corn"]
["tea", "cup"]
[
["tea", "tea"],
["tea", "cup"],
["cup", "tea"],
["cup", "cup"]
]
[["tea", _.0], ["cup", _.0]]
[["tea", _.0], ["cup", _.0]]
[_.0, _.0, _.0]
["onion", "onion", "onion"]
["onion", "onion", "onion"]
[]
[]
132 changes: 132 additions & 0 deletions examples/books/the-reasoned-schemer/08-just-a-bit-more.ch.out
Original file line number Diff line number Diff line change
@@ -0,0 +1,132 @@
[0, 1]
[[0, 0], [1, 1]]
[[0, 1], [1, 0]]
[[0, 0, 0], [0, 1, 1], [1, 0, 1], [1, 1, 0]]
[[1, 1]]
[0]
[[0, 0, 0, 0], [0, 1, 1, 0], [1, 0, 1, 0], [1, 1, 0, 1]]
[[0, 1]]
[[1, 1]]
[
[0, 0, 0, 0, 0],
[1, 0, 0, 1, 0],
[0, 0, 1, 1, 0],
[1, 0, 1, 0, 1],
[0, 1, 0, 1, 0],
[1, 1, 0, 0, 1],
[0, 1, 1, 0, 1],
[1, 1, 1, 1, 1]
]
[_.0]
[_.0]
[]
[[_.0 | _.1]]
[_.0]
[_.0]
[]
[]
[[_.0, _.1 | _.2]]
[[_.0, [], _.0], [[], [_.0 | _.1], [_.0 | _.1]]]
[
[_.0, [], _.0],
[[], [_.0 | _.1], [_.0 | _.1]],
[[1], [1], [0, 1]]
]
[
[_.0, [], _.0],
[[], [_.0 | _.1], [_.0 | _.1]],
[[1], [1], [0, 1]],
[[1], [0, _.0 | _.1], [1, _.0 | _.1]]
]
[
[_.0, [], _.0],
[[], [_.0 | _.1], [_.0 | _.1]],
[[1], [1], [0, 1]],
[[1], [0, _.0 | _.1], [1, _.0 | _.1]],
[[0, _.0 | _.1], [1], [1, _.0 | _.1]]
]
[
[_.0, [], _.0],
[[], [_.0 | _.1], [_.0 | _.1]],
[[1], [1], [0, 1]],
[[1], [0, _.0 | _.1], [1, _.0 | _.1]],
[[0, _.0 | _.1], [1], [1, _.0 | _.1]],
[[0, 1], [0, 1], [0, 0, 1]],
[[0, 1], [1, 1], [1, 0, 1]],
[[1, 1], [0, 1], [1, 0, 1]],
[[1, 1], [1, 1], [0, 1, 1]],
[[1], [1, 1], [0, 0, 1]],
[[1, 1], [1], [0, 0, 1]],
[[0, 1], [0, 0, _.0 | _.1], [0, 1, _.0 | _.1]],
[[0, 1], [1, 0, _.0 | _.1], [1, 1, _.0 | _.1]],
[[1, 1], [0, 0, _.0 | _.1], [1, 1, _.0 | _.1]],
[[1], [1, 0, _.0 | _.1], [0, 1, _.0 | _.1]],
[[0, 0, _.0 | _.1], [0, 1], [0, 1, _.0 | _.1]],
[[0, 0, _.0 | _.1], [1, 1], [1, 1, _.0 | _.1]],
[[1, 0, _.0 | _.1], [0, 1], [1, 1, _.0 | _.1]],
[[1, 0, _.0 | _.1], [1], [0, 1, _.0 | _.1]]
]
[
[[1, 0, 1], []],
[[], [1, 0, 1]],
[[1], [0, 0, 1]],
[[0, 0, 1], [1]],
[[0, 1], [1, 1]],
[[1, 1], [0, 1]]
]
[[[1], []], [[], [1]]]
[[[0, 1], []], [[], [0, 1]], [[1], [1]]]
[[[1, 1], []], [[], [1, 1]], [[1], [0, 1]], [[0, 1], [1]]]
[
[[1, 0, 1], []],
[[], [1, 0, 1]],
[[1], [0, 0, 1]],
[[0, 0, 1], [1]],
[[0, 1], [1, 1]],
[[1, 1], [0, 1]]
]
[[]]
[]
[[0, 1]]
[[1, 1]]
[[0, 0, 0, 1]]
[[1, 1]]
[[_.0]]
[[_.0, _.1]]
[[], [1], [0, 1]]
[
[[], _.0, []],
[[_.0 | _.1], [], []],
[[1], [_.0 | _.1], [_.0 | _.1]],
[[_.0, _.1 | _.2], [1], [_.0, _.1 | _.2]],
[[0, 1], [_.0, _.1 | _.2], [0, _.0, _.1 | _.2]],
[[1, _.0 | _.1], [0, 1], [0, 1, _.0 | _.1]],
[[0, 0, 1], [_.0, _.1 | _.2], [0, 0, _.0, _.1 | _.2]],
[[0, 1, _.0 | _.1], [0, 1], [0, 0, 1, _.0 | _.1]],
[[1, _.0 | _.1], [0, 0, 1], [0, 0, 1, _.0 | _.1]],
[[0, 0, 0, 1], [_.0, _.1 | _.2], [0, 0, 0, _.0, _.1 | _.2]]
]
[[0, 0, 0, 1]]
[[[1, 1], [1, 1], [1, 0, 0, 1]]]
[[[1], [1]]]
[[[1], [1, 1]], [[1, 1], [1]]]
[]
[[[1], [1]]]
[[1, 0, 0, 1, 1, 1, 0, 1, 1]]
[[_.0, _.1, [_.2, 1]]]
[1]
[[_.0, 1]]
[
[[], []],
[[1], [1]],
[[_.0, 1], [_.1, 1]],
[[_.0, _.1, 1], [_.2, _.3, 1]],
[[_.0, _.1, _.2, 1], [_.3, _.4, _.5, 1]]
]
[
[[1], [1]],
[[_.0, 1], [_.1, 1]],
[[_.0, _.1, 1], [_.2, _.3, 1]],
[[_.0, _.1, _.2, 1], [_.3, _.4, _.5, 1]],
[[_.0, _.1, _.2, _.3, 1], [_.4, _.5, _.6, _.7, 1]]
]
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
Original file line number Diff line number Diff line change
Expand Up @@ -17,3 +17,5 @@
}
return null
}
"hi"
3
Original file line number Diff line number Diff line change
Expand Up @@ -6,3 +6,4 @@
}
print results
}
[["hi", "xieyuheng"]]
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
Original file line number Diff line number Diff line change
@@ -1 +1,2 @@
[["a"]]
[["a", "b"]]
File renamed without changes.
3 changes: 3 additions & 0 deletions examples/tests/module/ABC.ch.out
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
[["a"]]
[["a", "b"]]
[["a", "b", "c"]]
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
Original file line number Diff line number Diff line change
@@ -1,2 +1,3 @@
[["a"]]
[["a"]]
[["b"]]
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
Loading

0 comments on commit cf750bd

Please sign in to comment.