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@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