
5 Apr
2008
5 Apr
'08
7:13 p.m.
On Sat, Apr 5, 2008 at 4:00 PM, Cale Gibbard
GHC has a special syntax for using ArrowApply (which HXT is an instance of). Whenever the expression to the left of -< needs to involve a local variable, you can replace -< with -<< and it should work. To understand better what it means, you can read http://www.haskell.org/ghc/docs/latest/html/users_guide/arrow-notation.html
Sweet! I didn't know that; I knew that ArrowApply gave you the ability to use bindings in the arrows, but it always bugged me that I couldn't even when I did have an instance. Go GHC! :-) Luke