-
-
Save jmn/a7538b7b0a1a0e724038c7a01fea9995 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
replace' :: Eq b => b -> b -> [b] -> [b] | |
replace' a b = map (\x -> if (a == x) then b else x) | |
main = do | |
f <- readFile "1input" | |
let l = lines $ replace' '+' ' ' f | |
map (read::String->Int) l | |
putStrLn "hi" |
Author
jmn
commented
Dec 8, 2018
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment