problems with Control.Applicative