
22 Jun
2012
22 Jun
'12
1:10 a.m.
On Fri, Jun 22, 2012 at 12:54 AM, Hilco Wijbenga
I think I'm close to understanding why (++ "!") "bla" returns "bla! instead of "!bla" but I seem to be missing the last step. :-) I noticed that ((++) "!") "bla" does indeed return "!bla". So it seems to be related to the infix property of ++? The types of (++) "!",
Correct; it is related to (++) being infix. Specifically, think about how partial application would work with an *infix*, as opposed to a *prefix*, expression. It might also help to know that the syntax there is called a "section". -- brandon s allbery allbery.b@gmail.com wandering unix systems administrator (available) (412) 475-9364 vm/sms