Hi,

I would like to use the builtin function lens_atype mydel to get the
abstract representation of a lens, but can't get it to work. Here is
what I tried.

module Test01 =
  let mydel = del /[a]+/ "a"
  let a = lens_format_atype mydel
  let _ = print_endline a

But I'm getting nothing on the stdout. Also, I can't figure out how to
use lens_atype, because no print function takes a REGEXP as argument.

Thanks!

Francis

_______________________________________________
augeas-devel mailing list
[email protected]
https://www.redhat.com/mailman/listinfo/augeas-devel

Reply via email to