[Haskell-cafe] help with Haskell programming

Keith Sheppard keithshep at gmail.com
Sun Apr 18 11:41:03 EDT 2010

Hello Mujtaba,

I wonder is this homework? If that's the case there is nothing wrong
with asking homework related questions but they should probably be
marked as such.

I think the most straight forward solution will use function
composition (.) and the (not) function


On Sun, Apr 18, 2010 at 11:35 AM, 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
> _______________________________________________
> 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