Answers for "list replication haskell"

0

list replication haskell

f :: Int -> [Int] -> [Int]
f n arr = concatMap (\num -> replicate n num) arr
Posted by: Guest on January-24-2021

Browse Popular Code Answers by Language