summaryrefslogtreecommitdiff
path: root/11-20/14.hs
blob: 6071891e955f9d942558ee7917cd03374e0c9b8c (plain) (blame)
1
2
3
4
dupli :: [a] -> [a]

dupli [] = []
dupli (x:xs) = x:x:(dupli xs)