I hereby claim:
- I am localshred on github.
- I am localshred (https://keybase.io/localshred) on keybase.
- I have a public key whose fingerprint is CBF2 CAFD 44F6 6592 ED7C 15F5 4FB9 71C2 60DF 216D
To claim this, I am signing this object:
I hereby claim:
To claim this, I am signing this object:
| defmodule MySupervisor do | |
| @moduledoc """ | |
| Supervisor to manage MyWorker. | |
| """ | |
| use Supervisor | |
| def start_link do | |
| Supervisor.start_link(__MODULE__, [], name: __MODULE__) | |
| end |
| SHA = "HEAD" | |
| WATCH_TARGET = "test" | |
| ifdef sha | |
| SHA = $(sha) | |
| endif | |
| ifdef t | |
| WATCH_TARGET = $(t) | |
| endif |
| $ tree test | |
| test | |
| ├── coordinator_test.exs | |
| ├── data | |
| │ ├── post_items.json | |
| │ ├── postitems.1.json | |
| │ ├── postitems.json | |
| │ ├── test_cases | |
| │ │ ├── big | |
| │ │ │ ├── ferrari.done.json |
| module Foo where | |
| -- ... | |
| type Action = | |
| MetaKeyDown Bool | |
| -- ... |
| module FollowTheMouse where | |
| import Color exposing (..) | |
| import Graphics.Collage exposing (..) | |
| import Graphics.Element exposing (..) | |
| import Mouse | |
| import Signal exposing ((<~), (~)) | |
| import Window | |
| type alias Viewport = |
| module TicTacToe where | |
| import Graphics.Element exposing (Element, centered) | |
| import Graphics.Collage exposing (Form, toForm, collage, moveY, move, outlined, filled, dashed, square, circle, solid) | |
| import Color exposing (yellow, gray, blue, green, orange, red) | |
| import Text exposing (fromString) | |
| import Window | |
| import Signal exposing ((<~)) | |
| import Array exposing (initialize, repeat, toList) |
| module TicTacToe where | |
| import Graphics.Element exposing (Element, centered) | |
| import Graphics.Collage exposing (Form, toForm, collage, moveY, move, outlined, dashed, square) | |
| import Color exposing (yellow, gray, blue, green, orange, red) | |
| import Text exposing (fromString) | |
| import Window | |
| import Signal exposing ((<~)) | |
| import Array exposing (initialize, repeat, toList) |
| require "awesome_print" | |
| ## | |
| # The term "higher-order" is meant to describe a function that | |
| # takes other functions as arguments, produces a function as a return value, | |
| # or both. | |
| # | |
| # ----> tl;dr use higher-order functions for working with lists as opposed to general "for loop" iteration. | |
| # |