Skip to content
Elm snippets for Atom 😘
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
snippets
.gitignore
CHANGELOG.md
LICENSE.md
README.md
package.json

README.md

Elm snippets for Atom

Adding some shortcut sugar to your day-by-day programming in Elm on Atom.

Disclaimer: this package is in early stage. I'm not covering all the possible scenarios, but the most ones used by me. Feel free to PR!

Install

apm install elm-snippets

Snippets

Write the prefixes below and press the Tab key and you're good to go.

[mod]

module <name> (..) where

[imp]

import <name>

[impas]

import <name> as <alias>

[impea]

import <name> exposing (..)

[ta]

type alias <name> =
  <something>

[str]

String

[sig]

Signal

[sigma]

Signal.map <(a -> b)> <Signal a>

[sigmb]

Signal.mailbox ""

[cof]

case <something> of
  <Condition> ->
    <action>
You can’t perform that action at this time.