• Packages
  • Themes
  • Documentation
  • Blog
  • Discuss
Sign in

elm-snippets

Elm snippets for Atom
  • #elm
  • #elm-snippets
  • #snippets
chiefGui
0.1.0 2,027
2
  • Repo
  • Bugs
  • Versions
  • License
Flag as spam or malicious

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>

I think this package is bad news.

Good catch. Let us know what about this package looks wrong to you, and we'll investigate right away.

  • Terms of Use
  • Privacy
  • Code of Conduct
  • Releases
  • FAQ
  • Contact
with by