realworldocaml / book

V2 of Real World OCaml
https://dev.realworldocaml.org
Other
1.19k stars 175 forks source link

New comment on block [block-idp7872896] #395

Closed raphael-proust closed 11 years ago

raphael-proust commented 11 years ago

"these common patterns been codified" lacks "have" ("have been codified")

bactrian commented 11 years ago

This comment references this from milestone alpha3: http://www.realworldocaml.org/alpha3/en/html/error-handling.html#idp7872896

Context:

As you write more error handling code in OCaml, you'll discover that certain patterns start to emerge. A number of these common patterns been codified in the interfaces of modules like Option and Result. One particularly useful one is built around the function bind, which is both an ordinary function and an infix operator >>=. Here's how you can define bind.
yminsky commented 11 years ago

Fixed.