Code Monkey home page Code Monkey logo

advent-of-code-2019's Introduction

Year four!

My goal for this year is simply to enjoy some non-work-related coding: I'll still be using Haskell but I won't cry if one day I'll use another language to complete a challenge, rather than leaving it there.

IDE

No IDE this year! Only Sublime Text, ghci and lots of lookups on Hoogle.

Running the code

To run the code for a specific day, load it up in ghci, then call the part1 or part2 function:

# from the current day folder, e.g. code/day42/
$ ghci day42.hs -i..
GHCi, version 8.4.3: http://www.haskell.org/ghc/  :? for help
*Main> part1
42
*Main> part2
"42 is the answer"

The code could also be compiled with ghc for improved run-time performance:

# from the current day folder, e.g. code/day42/
$ ghc day42.hs -i..
$ ./day42
Solving..
Part 1: 42
Part 2: "42 is the answer"

Journal

Just like the past years, I will keep a journal of the most challenging/interesting things I'll learn during this journey.

What I learned ๐Ÿ“–

Completed challenges

Day Problem Solution Stars Notes
Day 1 The Tyranny of the Rocket Equation day1.hs โญ๏ธ๐ŸŒŸ
Day 2 1202 Program Alarm day2.hs โญ๏ธ๐ŸŒŸ
Day 3 Crossed Wires day3.hs โญ๏ธ๐ŸŒŸ
Day 4 Secure Container day4.hs โญ๏ธ๐ŸŒŸ

advent-of-code-2019's People

Watchers

 avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.