HackerRank FP question
parent
2e328f6075
commit
9bf196a8f9
|
@ -0,0 +1,4 @@
|
|||
-- https://www.hackerrank.com/challenges/fp-list-replication/
|
||||
|
||||
f :: Int -> [Int] -> [Int]
|
||||
f s = concatMap (replicate s)
|
Loading…
Reference in New Issue