[Haskell-cafe] Re: help with Haskell programming
Mujtaba Boori
mujtaba.boori at gmail.com
Sun Apr 18 13:00:24 EDT 2010
Thanks for helping me but I have another problem (sorry for asking) . I
tried to figure it out .
how about if I want to compare two kind with (&&) (||) for
func :: (a -> Bool) -> (a -> Bool) -> (a -> Bool)
I tried some thing like
func = ((||) .)
This is the annoying part about Haskell . I can not understand composition .
On Sun, Apr 18, 2010 at 4:35 PM, Mujtaba Boori <mujtaba.boori at gmail.com>wrote:
> Hello I am kinda newbie in Haskell you can help help me with some
> programming
>
> I am trying to make function like for example
>
> func :: (a -> Bool) -> (a -> Bool)
>
> this function make calculation and return bool . I want to be able to make
> bool True when It is False and False when it is True while returning the a.
>
> Thank you
>
> --
> Mujtaba Ali Alboori
>
--
Mujtaba Ali Alboori
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://www.haskell.org/pipermail/haskell-cafe/attachments/20100418/247c7c30/attachment.html
More information about the Haskell-Cafe
mailing list