Skip to content

Instantly share code, notes, and snippets.

@permelin
permelin / Count.elm
Last active September 23, 2015 15:55
import Html exposing (..)
import Html.Attributes
import Html.Events exposing (onClick)
import Signal
-- ACTIONS
type Action = Increment
| Decrement
| None -- The mailbox needs a default
@permelin
permelin / fizzbuzz.md
Created May 11, 2012 19:48
Brim FizzBuzz

This is the template file, fizz.html:

<html>
  <div></div>
</html>

This is the Erlang code that fills the template:

brim:do("priv/fizz.html",