Skip to content
Nomnoml templates

State Pattern (Nomnoml)

A context delegating to interchangeable states.

Template previewNomnoml
Rendering…

Make it your own.

[Context]o->[State|+handle()]
[ConcreteStateA]-:>[State]
[ConcreteStateB]-:>[State]