Compare commits
2 Commits
03276cd8c5
...
9bf196a8f9
Author | SHA1 | Date |
---|---|---|
Bill Ewanick | 9bf196a8f9 | |
Bill Ewanick | 2e328f6075 |
|
@ -75,10 +75,10 @@
|
||||||
haskell-language-server
|
haskell-language-server
|
||||||
ghcid
|
ghcid
|
||||||
hlint
|
hlint
|
||||||
|
] ++ (with pkgs; [
|
||||||
# Scripts
|
# Scripts
|
||||||
clean
|
clean
|
||||||
];
|
]);
|
||||||
|
|
||||||
shellHook = ''
|
shellHook = ''
|
||||||
echo ".------..------..------..------..------..------..------..------..------..------."
|
echo ".------..------..------..------..------..------..------..------..------..------."
|
||||||
|
|
|
@ -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