[Haskell-cafe] Missing Symbol (2)

Rodrigo Queiro overdrigzed at gmail.com
Wed Sep 19 08:21:16 EDT 2007


This looks like foldr, specifically:
f = foldr (.) v

so really, there's no way of telling what the operator could be, other
than that:
(.) :: a -> b -> b
where
f :: [a] -> b
v :: b

BTW, I find that most of your emails are in a very large font size. Do
other people notice this? It's not very nice to read. Gmail's 'Show
Original' feature tells me that the HTML version of your message
contains <font size=3> near the start.

On 19/09/2007, PR Stanley <prstanley at ntlworld.com> wrote:
> Hi
> Here's another one:
> f [] = v
> f (x:xs) = x . f xs
> The "." is supposed to denote a generic operator - f [] maps to some
> value v and applied to non-empty list applies head to ? operator.
> Thanks, Paul
>
> _______________________________________________
> Haskell-Cafe mailing list
> Haskell-Cafe at haskell.org
> http://www.haskell.org/mailman/listinfo/haskell-cafe
>


More information about the Haskell-Cafe mailing list