Tune in to the tools and techniques in the Elm ecosystem.
013: Make Impossible States Impossible
      
        September 21, 2020
      
      
        0:56:43
      
      
        
          54.65 MB
        
      
      
        Downloads: 0
      
    
    
      The talks
- Make Impossible States Impossible from Elm Conf 2016
 - Make Data Structures from Elm Europe 2018
 - Elm Radio Episode 2: Intro to Opaque Types
 
Dealing with Impossible States
- Building up a "truth table" of possible states (see Evan's guide Types as Sets)
 - Which rows are invalid?
 - Create a new type with only the valid ones possible
 
More references
Tereza's
line-chartspackageTereza's elm Europe talk
Snapshot testing (also called Approval Tests)
Jeremy Fairbank's Boolean Blindness talk