1. Dmitry Grebeniuk
  2. ocaml-iteratees

Commits

Dmitry Grebeniuk  committed e86b82c

more gc optimizations

  • Participants
  • Parent commits b863145
  • Branches default

Comments (0)

Files changed (1)

File iteratees.ml

View file
 
 
 value (mapI : ('a -> 'b) -> iteratee 'el 'a -> iteratee 'el 'b) f i =
-  i >>= return % f
+  i >>= fun r -> return (f r)
 ;