I'm not certain exactly what you mean, but I *think* you mean: func :: (a -> Bool) -> (a -> Bool) func = (not .)
Bob On 18 Apr 2010, at 16:35, Mujtaba Boori 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 > [email protected] > http://www.haskell.org/mailman/listinfo/haskell-cafe _______________________________________________ Haskell-Cafe mailing list [email protected] http://www.haskell.org/mailman/listinfo/haskell-cafe
