Alex Selimov
5185e14653
|
2 weeks ago | |
---|---|---|
.. | ||
Part1.hs | 2 weeks ago | |
Part2.hs | 2 weeks ago | |
README.md | 2 weeks ago | |
day1.hs | 2 weeks ago | |
inputs.txt | 2 weeks ago |
README.md
Day 1
Instructions
From this directory open a terminal and execute:
runhaskell day1.hs
The solution for each section will be printed to the terminal output.
Notes
This is my first attempt at writing Haskell code. I've always wanted to try a formal functional programming language, and I've heard of Haskell through using tools like XMonad and Pandoc. Since I use Pandoc regularly I thought Haskell would be a useful skill to have in case I ever need to contribute. I also am interested in the functional programming paradigm and want to adapt my thought processes to write cleaner code. I thought day 1 would be a good day to try Haskell, and something that would've taken me 10 minutes in any programming language I know really took me a long time. This is definitely not good, clean, idiomatic Haskell, but it is a start!