Atom Packages Directory

a package directory for a text editor of the 21st Century

Elm Snippets

Install with:
    apm install elm-snippets
  

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]

elm module <name> (..) where

[imp]

elm import <name>

[impas]

elm import <name> as <alias>

[impea]

elm import <name> exposing (..)

[ta]

```elm type alias =

``` #### [str] ```elm String ``` #### [sig] ```elm Signal ``` #### [sigma] ```elm Signal.map <(a -> b)> ``` #### [sigmb] ```elm Signal.mailbox "" ``` #### [cof] ```elm case of -> ```
Keywords: elm, elm-snippets, snippets, atom Suggest keywords
Fork me on GitHub