1
0
Fork 0

Compare commits

..

2 Commits

Author SHA1 Message Date
Bill Ewanick 9bf196a8f9 HackerRank FP question 2023-11-01 19:41:13 -04:00
Bill Ewanick 2e328f6075 Split out haskell and regular packages 2023-10-30 17:31:16 -04:00
2 changed files with 6 additions and 2 deletions

View File

@ -75,10 +75,10 @@
haskell-language-server
ghcid
hlint
] ++ (with pkgs; [
# Scripts
clean
];
]);
shellHook = ''
echo ".------..------..------..------..------..------..------..------..------..------."

View File

@ -0,0 +1,4 @@
-- https://www.hackerrank.com/challenges/fp-list-replication/
f :: Int -> [Int] -> [Int]
f s = concatMap (replicate s)