Skip to content

Commit

Permalink
Add web support.
Browse files Browse the repository at this point in the history
  • Loading branch information
smimram committed Dec 12, 2024
1 parent b284bc5 commit bc4d85c
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 0 deletions.
2 changes: 2 additions & 0 deletions web/examples.ml
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@ let curien = [%blob "../examples/curien.cccatt"]
let birds = [%blob "../examples/birds.cccatt"]
let linear = [%blob "../examples/linear.cccatt"]
let category = [%blob "../examples/category.cccatt"]
let monoidal = [%blob "../examples/monoidal.cccatt"]

let get = function
| "tests" -> tests
Expand All @@ -14,4 +15,5 @@ let get = function
| "birds" -> birds
| "linear" -> linear
| "category" -> category
| "monoidal" -> monoidal
| _ -> ""
1 change: 1 addition & 0 deletions web/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,7 @@ <h1>Typechecker</h1>
<option value="curien">Categorical combinators</option>
<option value="birds">Birds</option>
<option value="category">Categories</option>
<option value="monoidal">Monoidal categories</option>
<option value="linear">Linear λ-calculus</option>
<option value="tests">Tests</option>
<option value="implicit">Tests with implicit arguments</option>
Expand Down

0 comments on commit bc4d85c

Please sign in to comment.