popl-paper-ocaml/test/rewriter/test.ml
2024-04-22 20:44:55 -05:00

4 lines
No EOL
123 B
OCaml

let prop0 (f : 'a -> 'b) (xs : 'a List.t) : bool =
List.length (List.map f xs) = 0
let mono_prop0 = [%monomorphic prop0]