Most data modeling in Elm is done using its excellent type system. These articles explain various aspects of the type system and the tools that it gives you for modeling. The official Elm guide has an appendix on ✍Types as Sets that digs into the more theoretical ideas of why this works.

2m read time From thoughtbot.com
Post cover image
Table of contents
All about typesEliminating impossible statesPrimitivesUsing the compiler to check for invariantsType NarrowingGeneral domain modeling

Sort: