Transit A PureScript library for building fast and type-safe state machines. Introduction Example 1: A Simple Door The State Machine Classic Approach Implementation using Transit Testing the update function Generating Documentation Conclusion Example 2: Door with Pin The State Machine The Classic Approach Implementation using Transit Testing the update function Generating Documentation Conclusion Example 3: Bridges of Königsberg The State Machine Implementation using Transit Testing the update function Graph Analysis Generating Documentation Conclusion Example 4: House of Santa Claus The State Machine Implementation using Transit Testing the state machine Generating documentation Conclusion Advanced Update Patterns Monadic Updates Error Handling Combining Monads and Error Handling ↑ Back to top