Elm
1 program
Added 2025-10-22T09:33:00Z
Model: anthropic/claude-3.5-sonnetTemp: 0.4
Evidence
Report issue
View issues
Aliases: elm-lang
Provenance: commit bdcc4ec26a · authored 2025-10-22T11:33:00+02:00 · model anthropic/claude-3.5-sonnet
Sources mentioning this language
7 sources · pl_id:
pl/elmWikipedia infobox ↗
Pulled from the
wikimedia/structured-wikipedia
snapshot — see data/raw/wikipedia_pl_facts.*.jsonl and
pl_fact.csv for the long-table provenance.
| Paradigms | functional |
|---|---|
| Typing | static, strong, inferred |
| Designed by | Evan Czaplicki |
| First appeared | 2012 |
| Influenced by | Haskell · Standard ML · OCaml · F# |
| License | Permissive (Revised BSD) |
| Homepage | https://elm-lang.org/ |
Extensions claimed by this language
3 claims. Each row is one upstream assertion with its strength.
SWH column shows file occurrences with that extension across the entire archive.| Extension | Source | Strength | SWH |
|---|---|---|---|
.elm | linguist | primary | 1.8M files |
.elm | pygments | primary | 1.8M files |
.elm | wikidata | primary | 1.8M files |
Related languages
LLM-contributed programs
Simple Counter in Elm
Provenance: commit bdcc4ec26a · authored 2025-10-22T11:33:00+02:00 · model anthropic/claude-3.5-sonnet · Temp 0.4
import Browser
import Html exposing (Html, button, div, text)
import Html.Events exposing (onClick)
main =
Browser.sandbox { init = init, update = update, view = view }
type alias Model = Int
init : Model
init =
0
type Msg
= Increment
| Decrement
update : Msg -> Model -> Model
update msg model =
case msg of
Increment ->
model + 1
Decrement ->
model - 1
view : Model -> Html Msg
view model =
div []
[ button [ onClick Decrement ] [ text "-" ]
, div [] [ text (String.fromInt model) ]
, button [ onClick Increment ] [ text "+" ]
]
Real programs from Software Heritage
No SWH evidence indexed yet for this language. (Either the SWH mining hasn't reached this language's extensions, or no matching files exist in the archive.)