[Haskell-cafe] Arrows and 'do' syntax

Greg Fitzgerald garious at gmail.com
Wed Jul 12 13:19:37 EDT 2006


On 7/12/06, Anatoly Zaretsky <anatoly.zaretsky at gmail.com> wrote:
> readWriteDoc path = proc input -> do
>    doc       <- readDocument [(a_validate, "0")] path -< input

That was it.  Thanks!

-Greg
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://www.haskell.org//pipermail/haskell-cafe/attachments/20060712/6d3e2222/attachment.htm


More information about the Haskell-Cafe mailing list