Type | Permits |
---|---|
number | Int and Float |
appendable | String and List a |
comparable | Int, Float, Char, String + lists/tuples of comparable values |
compappend | String, List comparable |
> type alias User = { name : String, bio : String } > User "Tom" "Friendly Carpenter" { name = "Tom", bio = "Friendly Carpenter" }