popl-paper-ocaml/test/rewriter/test.ml

4 lines
123 B
OCaml
Raw Normal View History

2024-04-23 01:44:55 +00:00
let prop0 (f : 'a -> 'b) (xs : 'a List.t) : bool =
List.length (List.map f xs) = 0
let mono_prop0 = [%monomorphic prop0]