turbofish-org / orga

State machine engine

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Allow collections of State types

mappum opened this issue · comments

The collection types currently only accept types with Encode/Decode, but there are cases where it would be nice to have collections of the higher-level State types. We could change all collections to accept only State types, but also have an automatic way to wrap Encode/Decode types in a Value<T>. This probably has other benefits as well since there are a lot of helper methods we can add to Value.