UniTO/tesi/examples/ex3.ml
2020-06-04 23:48:32 +02:00

5 lines
119 B
OCaml

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