ocaml/experimental/frisch/test_matches.ml

4 lines
101 B
OCaml

let l = List.filter [%matches ? 'a'..'z'] ['a';'A';'X';'x']
let f = [%matches ? Some i when i >= 0]