[Haskell-cafe] help understanding lazy evaluation
Derek Elkins
derek.a.elkins at gmail.com
Wed Aug 22 19:43:45 EDT 2007
>
> > [*] Which notation do you use for functions in text? is f() ok?
>
> Sure, although a little unusual for Haskell where f() means f applied
> to the empty tuple. Some people use |f| (generally those who use
> latex), but generally it can be inferred from the context what is a
> function
Neil's answer was complete I just want to elaborate on this last point.
f is the most logical (and for Haskell things appropriate) notation.
It's an odd historical quirk of mathematical notation that using f(x)
for f is still so common.
More information about the Haskell-Cafe
mailing list