[Haskell-cafe] Bifold: a simultaneous foldr and foldl

Larry Evans cppljevans at suddenlink.net
Tue Dec 7 04:57:52 CET 2010


On 12/01/10 21:35, Larry Evans wrote:
[snip]
> Hi Noah,
> 
> The attached is my attempt at reproducing your code
[snip]
> However, ghci compilation of bifold produces an error message:
> 
>   BifoldIfRecur.hs:20:19: parse error on input `='
> 
[snip]
Apparently I had some extra leading spaces in the last line.
Taking those out (as shown in attached) results in a good
reading of the file by ghci.

-Larry
-------------- next part --------------
A non-text attachment was scrubbed...
Name: Bifold.hs
Type: text/x-haskell
Size: 346 bytes
Desc: not available
URL: <http://www.haskell.org/pipermail/haskell-cafe/attachments/20101206/027976d1/attachment.hs>


More information about the Haskell-Cafe mailing list