Revision: 50281
Updated Code
at August 18, 2011 01:06 by rtperson
Updated Code
dupli :: [a] -> [a] dupli = concatMap (replicate 2)
Revision: 50280
Initial Code
Initial URL
Initial Description
Initial Title
Initial Tags
Initial Language
at August 18, 2011 01:04 by rtperson
Initial Code
dupli :: [a] -> [a] dupli = concat . (map (replicate 2))
Initial URL
http://haskell.org/haskellwiki/99_questions/11_to_20
Initial Description
problem 14, Duplicate the elements of a list > dupli [1, 2, 3] [1,1,2,2,3,3]
Initial Title
Haskell 99 Problems - Number 14
Initial Tags
Initial Language
Haskell