From HaskellWiki
Jump to navigation Jump to search
The printable version is no longer supported and may have rendering errors. Please update your browser bookmarks and please use the default browser print function instead.

The syntax highlighting for the last example is broken. Two of the functions get shown as

 zMap :: (a -> b -> (c, d)) -> [a] -> [b] -> ([c], [d])
 zMap f a b = unzip">unzip $ zipWith f a b
 -- | Map a function simultaniously over two lists of lists, like zip
 zzMap :: (a -> b -> (c, d)) -> [[a]] -> [[b]] -> ([[c]], [[d]])
 zzMap f a b = unzip">unzip $ zipWith (zMap f) a b

That unzip">unzip should be just unzip, and it shows correctly in the edit area, so this must be a bug in the highlighting code? --Ørjan 20:23, 24 December 2007 (UTC)