astrada/gapi-ocaml — pull request #6 by pdonadeo (2012-07-09 08:32:12+00:00)
Title: GapiLens.for_list should be tail-recursive

I rewrote the function GapiLens.for_list to use List.fold_left and List.rev to avoid stack overflow.

It's less elegant but safer.