List Replication Haskell

[Solved] List Replication Haskell | Haskell - Code Explorer | yomemimo.com
Question : list replication haskell

Answered by : dupinder-singh

f :: Int -> [Int] -> [Int]
f n arr = concatMap (\num -> replicate n num) arr

Source : | Last Update : Sun, 31 Jan 21

Answers related to list replication haskell

Code Explorer Popular Question For Haskell