Skip to content

chiefGui/atom-elm-snippets

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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>

About

Elm snippets for Atom 😘

Resources

License

Stars

Watchers

Forks

Packages

No packages published