UniTO/tesi/examples/ex3.ml
2024-10-29 09:11:05 +01:00

5 lines
119 B
OCaml
Executable file

external observe : 'a -> 'b = "observe"
external guard : 'a -> 'b = "guard"
let f1 = function
| true -> observe 1