4 ms·
Time to re-pimp my idea of doing this using a single type parameterised to reflect different states: https://github.com/tim-group/higher-kinded-lifecycle/blob/
by twic 3y ago
Time to re-pimp my idea of doing this using a single type parameterised to reflect different states:
https://github.com/tim-group/higher-kinded-lifecycle/blob/master/src/main/scala/Idea.scala https://github.com/tim-group/higher-kinded-lifecycle/blob/ma...
- myvoiceismypass 3y agoSeems like more idiomatic scala to have an ADT via a sealed trait hierarchy + pattern matching here.