bigos / alguzzles

Algorithm Puzzles

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

README

In order to use this repo you need Common Lisp and Haskell to be installed on your machine

What is this repository for?

  • Solving programming puzzles

Running haskell programs

cat ./input0.txt | stack runghc ./solution.hs >&2

Running clojure programs

run in terminal

cat ./input0.txt | clojure -M ./solution.clj

Emacs REPL

Using the runme.sh script and modified solution code we can print the arguments needed to solve the problem. At this point we can use the usual REPL workflow to solve the puzzle.

  • Open the clojure file
  • M-x cider-jack-in
  • In the clojure file do C-c M-z
  • Play with the REPL

About

Algorithm Puzzles


Languages

Language:Common Lisp 77.7%Language:Haskell 16.9%Language:Clojure 4.2%Language:Erlang 0.8%Language:Ruby 0.2%Language:Shell 0.2%