Skip to content

Instantly share code, notes, and snippets.

@lgastako
Last active May 20, 2016 05:22
Show Gist options
  • Save lgastako/f24e5708091462fdadb4873f5e92c91b to your computer and use it in GitHub Desktop.
Save lgastako/f24e5708091462fdadb4873f5e92c91b to your computer and use it in GitHub Desktop.
type Branches
= Epistemology
| Ethics
| Logic
| Metaphysics
type Branches =
| Epistemology
| Ethics
| Logic
| Metaphysics
-- Oops, where's Aesthetics?
-- And while we're at it...
type alias Foo = { bar : Bar
, baz : Baz
}
type alias Foo = {
, bar Bar
, baz Baz
}
-- or, since that's ugly:
type alias Foo = {
, bar Bar
, baz Baz
}
-- I know it looks weird and it's a departure from tradition, but I think the
-- Elm community values pragmatic things like minimal diffs for commits, easy
-- re-ordering, etc over some of those less tangible things... we'll get used
-- to it.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment