This file contains 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
elm-stuff/ |
This file contains 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(ring). | |
-export([start/3, member_init/1]). | |
% RING SETUP | |
start(N, M, Msg) -> | |
Pids = spawnN(N, { expecting, M, messages }), | |
initMembers(Pids), | |
withHead( | |
Pids, |
This file contains 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 Html as H exposing (Html) | |
import Html.Events as HE | |
type alias Model = | |
{ data : String | |
, moreData : String | |
} | |
This file contains 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 Date exposing (Date) | |
import Html as H exposing (Html) | |
import Html.App as App | |
import Html.Events as HE | |
import Result | |
main = | |
App.beginnerProgram | |
{ model = init |
This file contains 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 exposing (main) | |
import Math.Vector3 as Vec3 exposing (Vec3) | |
import Html as H exposing (Html) | |
import Html.App as App | |
import Html.Attributes as HA | |
import Time | |
import WebGL | |
import AnimationFrame |
This file contains 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 Html exposing (..) | |
import Html.Events exposing (..) | |
import Html.Attributes exposing (..) | |
import Html.App as App | |
main : Program Never | |
main = | |
App.beginnerProgram | |
{ model = init |
This file contains 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
elm-stuff/ |
This file contains 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
elm-stuff/ |
This file contains 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 Html exposing (Html) | |
import Html.App as App | |
import Http | |
import Task exposing (Task) | |
main : Program Never | |
main = | |
App.program | |
{ init = init |
This file contains 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 Html | |
import Html.App as App | |
import Html.Attributes as Attributes | |
import Html.Events as Events | |
import Json.Decode as Json | |
import String | |
main = | |
App.beginnerProgram |