
25 Dec
2010
25 Dec
'10
6:08 p.m.
Hi, Thanks for the help on the typing issue, that helped my understanding a lot. Regarding the lift2 Matrix: this line works : matrixfunction x y = liftMatrix2 (zipVectorWith(\a1 a2 -> if a2>=0 then a1 else 0)) x y but when I use this line : matrixfunction f x y = liftMatrix2 (zipVectorWith f) x y how can / do I have to define f in a seperate line a way, that it works and gives the same result ? Cheers Phil -- View this message in context: http://haskell.1045720.n5.nabble.com/Matlab-Style-Logic-Operations-ala-V1-V2... Sent from the Haskell - Haskell-Cafe mailing list archive at Nabble.com.