From 613688d48958d7af2550447eed412dc626faf5e1 Mon Sep 17 00:00:00 2001 From: Neil Smith <neil.git@njae.me.uk> Date: Wed, 29 Nov 2017 08:25:49 +0000 Subject: [PATCH] Updated readme --- README.html | 4 ++++ README.md | 10 ++++++++++ adventofcode1701/app/advent01.ipynb | 16 ++++++++-------- 3 files changed, 22 insertions(+), 8 deletions(-) diff --git a/README.html b/README.html index 6f80db8..b524d3c 100644 --- a/README.html +++ b/README.html @@ -43,6 +43,10 @@ <pre><code>stack build --executable-profiling --library-profiling --ghc-options="-fprof-auto -rtsopts" adventofcode1601</code></pre> <p>then run with</p> <pre><code>stack exec -- advent01 +RTS -p -hy</code></pre> +<h1 id="ihaskell">IHaskell</h1> +<p>Install following the <a href="https://github.com/gibiansky/IHaskell">IHaskell instructions</a>.</p> +<p>To run, change into the package's directory (after modifying the <code>.cabal</code> file) and run it with</p> +<pre><code>stack exec jupyter -- notebook</code></pre> <h1 id="readme">Readme</h1> <p>Build this readme file wth</p> <pre><code>pandoc -s README.md > README.html</code></pre> diff --git a/README.md b/README.md index a6eb1f7..11880e9 100644 --- a/README.md +++ b/README.md @@ -71,6 +71,16 @@ then run with stack exec -- advent01 +RTS -p -hy ``` +# IHaskell + +Install following the [IHaskell instructions](https://github.com/gibiansky/IHaskell). + +To run, change into the package's directory (after modifying the `.cabal` file) and run it with + +``` +stack exec jupyter -- notebook +``` + # Readme Build this readme file wth diff --git a/adventofcode1701/app/advent01.ipynb b/adventofcode1701/app/advent01.ipynb index 2fe0e24..4fb001c 100644 --- a/adventofcode1701/app/advent01.ipynb +++ b/adventofcode1701/app/advent01.ipynb @@ -2,7 +2,7 @@ "cells": [ { "cell_type": "code", - "execution_count": 6, + "execution_count": 1, "metadata": {}, "outputs": [], "source": [ @@ -12,7 +12,7 @@ }, { "cell_type": "code", - "execution_count": 7, + "execution_count": 2, "metadata": {}, "outputs": [], "source": [ @@ -21,7 +21,7 @@ }, { "cell_type": "code", - "execution_count": 19, + "execution_count": 3, "metadata": {}, "outputs": [], "source": [ @@ -33,7 +33,7 @@ }, { "cell_type": "code", - "execution_count": 20, + "execution_count": 4, "metadata": {}, "outputs": [], "source": [ @@ -47,7 +47,7 @@ }, { "cell_type": "code", - "execution_count": 21, + "execution_count": 5, "metadata": {}, "outputs": [], "source": [ @@ -58,7 +58,7 @@ }, { "cell_type": "code", - "execution_count": 25, + "execution_count": 6, "metadata": {}, "outputs": [], "source": [ @@ -69,7 +69,7 @@ }, { "cell_type": "code", - "execution_count": 23, + "execution_count": 7, "metadata": {}, "outputs": [], "source": [ @@ -83,7 +83,7 @@ }, { "cell_type": "code", - "execution_count": 26, + "execution_count": 8, "metadata": {}, "outputs": [ { -- 2.43.0