This is an alternative site for discovering Elm packages. You may be looking for the official Elm package site instead.
Elm's standard libraries
version 1.1.1
license BSD3
native-modules True
Tag 1.1.1
Committed At 2015-02-22 16:45:11 UTC


Elm Core Libraries

Build Status

Every Elm project needs the core libraries. They provide basic functionality including:

  • Basic operations like addition and subtraction
  • Core data structures like lists, dictionaries, and sets
  • Underlying implementation of Signals
  • Core rendering libraries

Default Imports

In all Elm files there is a small set of default imports:

import Basics (..)
import List ( List )
import Maybe ( Maybe( Just, Nothing ) )
import Result ( Result( Ok, Err ) )
import Signal ( Signal )

The intention is to include things that are both extremely useful and very unlikely to overlap with anything that anyone will ever write in a library. By keeping the set of default imports small, it also becomes easier to use whatever version of map suits your fancy. Finally, it makes it easier to figure out where the heck a function is coming from.