Home

Elm Types

Constrained Type Variables

TypePermits
numberInt and Float
appendableString and List a
comparableInt, Float, Char, String + lists/tuples of comparable values
compappendString, List comparable

Record Constructors

> type alias User = { name : String, bio : String } > User "Tom" "Friendly Carpenter" { name = "Tom", bio = "Friendly Carpenter" }

Repository

https://github.com/okeeffed/developer-notes-nextjs/content/elm/elm-types

Sections


Related