[Haskell-cafe] flip dot

Tim Newsham newsham at lava.net
Thu Sep 28 15:55:07 EDT 2006


> (.) :: a -> (a -> b) -> b
> x.f == f x

Looks like a parallel of (>>=).
Sounds interesting and useful, but why hijack dot? Would work nicely with 
record gettor functions (but not the settors).

> Greg

Tim Newsham
http://www.thenewsh.com/~newsham/


More information about the Haskell-Cafe mailing list