• Stars
    star
    2,770
  • Rank 15,844 (Top 0.4 %)
  • Language
    Elm
  • License
    BSD 3-Clause "New...
  • Created over 9 years ago
  • Updated 4 months ago

Reviews

There are no reviews yet. Be the first to send feedback to the community and the maintainers!

Repository Details

Elm's core libraries

Core Libraries

Every Elm project needs this package!

It provides basic functionality like addition and subtraction as well as data structures like lists, dictionaries, and sets.

New to Elm? Go to elm-lang.org for an overview.

Default Imports

The modules in this package are so common, that some of them are imported by default in all Elm files. So it is as if every Elm file starts with these imports:

import Basics exposing (..)
import List exposing (List, (::))
import Maybe exposing (Maybe(..))
import Result exposing (Result(..))
import String exposing (String)
import Char exposing (Char)
import Tuple

import Debug

import Platform exposing (Program)
import Platform.Cmd as Cmd exposing (Cmd)
import Platform.Sub as Sub exposing (Sub)

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 relatively 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.

More Repositories

1

compiler

Compiler for Elm, a functional language for reliable webapps.
Haskell
7,404
star
2

elm-lang.org

Server and client code for the Elm website.
Elm
1,984
star
3

projects

Curated collection of projects for folks looking to collaborate within the Elm ecosystem.
425
star
4

html

Use HTML in Elm!
Elm
391
star
5

browser

Create Elm programs that run in browsers!
Elm
310
star
6

package.elm-lang.org

website for browsing packages and exploring documentation
Haskell
296
star
7

parser

A parsing library, focused on simplicity and great error messages
Elm
221
star
8

virtual-dom

The foundation of HTML and SVG in Elm.
JavaScript
206
star
9

error-message-catalog

A catalog of broken Elm programs / data to improve error messages
Elm
173
star
10

http

Make HTTP requests in Elm
Elm
156
star
11

svg

Fast SVG in Elm
Elm
145
star
12

file

Select files. Download files. Work with file content.
Elm
107
star
13

time

A simplified approach to working with dates, times, and time zones.
Elm
91
star
14

json

Work with JSON in Elm
Elm
90
star
15

bytes

Work with bytes and implement network protocols
Elm
80
star
16

url

Build and parse URLs. Useful for HTTP and "routing" in single-page apps (SPAs)
Elm
75
star
17

expectations

Trying to set expectations about @elm processes
53
star
18

editor-plugins

List of editor plugins for Elm.
49
star
19

random

Generate random values in Elm
Elm
44
star
20

regex

If you really need regex in Elm, it is possible.
Elm
33
star
21

color

Standard representation of colors, encouraging sharing between packages.
Elm
24
star
22

foundation.elm-lang.org

Source code for the ESF website
Elm
17
star
23

project-metadata-utils

Work with elm.json and docs.json files in Elm
Elm
15
star
24

forum-rules

Rules for Elm forums
9
star