This file contains hidden or 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
| module Main where | |
| import Signal | |
| import Time exposing (Time, millisecond) | |
| import String | |
| import Html exposing (..) | |
| import Html.Attributes exposing (..) | |
| import Html.Events exposing (..) | |
| import Effects exposing (Never, Effects) |
This file contains hidden or 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
| function printGraph(queue) | |
| { | |
| queue = queue.slice(0); | |
| console.log('digraph { //'); | |
| var seen = []; | |
| while (queue.length > 0) | |
| { | |
| var node = queue.pop(); | |
| var id = node.id; |
This file contains hidden or 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
| import Set | |
| import Array | |
| import Text | |
| import Time | |
| import Mouse | |
| import Keyboard | |
| import Graphics.Collage | |
| import Graphics.Element | |
| import Graphics.Input | |
| import Html |
This file contains hidden or 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
| import Set | |
| import Array | |
| import Text | |
| import Time | |
| import Mouse | |
| import Keyboard | |
| import Graphics.Collage | |
| import Graphics.Element | |
| import Graphics.Input | |
| import Html |
This file contains hidden or 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
| FROM jvoigtlaender/elm:0.15.1 | |
| RUN mkdir /cached && \ | |
| cd /cached && \ | |
| elm-package install --yes Apanatshka/elm-signal-extra && \ | |
| elm-package install --yes elm-lang/core && \ | |
| elm-package install --yes evancz/elm-html && \ | |
| elm-package install --yes jwmerrill/elm-animation-frame && \ | |
| elm-package install --yes jystic/elm-font-awesome && \ | |
| elm-make |
This file contains hidden or 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
| FROM debian:jessie | |
| RUN apt-get update -y && apt-get install --no-install-recommends -y -q curl build-essential git ca-certificates | |
| RUN mkdir /nodejs && curl http://nodejs.org/dist/v0.10.33/node-v0.10.33-linux-x64.tar.gz | tar xvzf - -C /nodejs --strip-components=1 | |
| ENV PATH $PATH:/nodejs/bin | |
| # FROM codenvy/angular-yeoman | |
| # RUN sudo npm install --global elm@1.5.1 |