[Haskell-cafe] Parse text difficulty
josef.svenningsson at gmail.com
Thu Dec 9 11:18:52 EST 2004
On Thu, 09 Dec 2004 10:18:12 -0500, Robert Dockins
<robdockins at fastmail.fm> wrote:
> > And I thought that most programmers used "zipWith", which has to be
> > prefix.
> Is this true? Can you not use backticks on a partially applied
> function? If so, it seems like such a thing would be pretty useful
> (although I've never actually had occasion to need it, so....) I'll dig
> out the report and check sometime, but does anyone know for sure that
> the following wouldn't work?
> [1..5] `zipWith (+)` [7..]
It is possible to emulate this behaviour with some operator trickery. See:
More information about the Haskell-Cafe