« * K @evancz.dev

Evan Czaplicki @evancz.dev

2026-10-16 18:32 UTC

The module does not expose the constructor: module Email exposing (Email, validate, toString) So anyone outside of the module can say `Email` in a type signature, but they cannot use the constructor. You'd have to say `exposing (Email(..))` with the dots to expose the constructor.

A reply in a thread.

2 likes, 0 reposts, 1 replies

3 Next post4 More from @evancz.devBackBluesky home
☆ Save to home · 0 Home · Find · Games · Chat · AI · Setup