mirror of
https://github.com/c-cube/ocaml-containers.git
synced 2025-12-07 11:45:31 -05:00
fixed test_bij, definitely
This commit is contained in:
parent
e4bc1277a8
commit
ba49d959be
1 changed files with 1 additions and 1 deletions
|
|
@ -29,7 +29,7 @@ let bij_term =
|
|||
| App l -> "app", Bij.(BranchTo (list_ (Lazy.force bij), l)))
|
||||
~extract:(function
|
||||
| "const" -> Bij.(BranchFrom (string_, fun x -> Const x))
|
||||
| "int" -> Bij.(BranchFrom (int_, fun x -> Int x))
|
||||
| "int" -> Bij.BranchFrom (Bij.int_, fun x -> Int x)
|
||||
| "app" -> Bij.(BranchFrom (list_ (Lazy.force bij), fun l -> App l))
|
||||
| _ -> raise Bij.(DecodingError "unexpected case switch"))
|
||||
)
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue