From HaskellWiki
Revision as of 20:23, 24 December 2007 by Oerjan (talk | contribs) (broken highlighting)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

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)