DylanSp / deep-future

A digital implementation of R. Winder's board game Deep Future.
MIT License
0 stars 0 forks source link

Use the Variant library for when I need sum types (almost certainly will in game logic) #5

Closed DylanSp closed 6 months ago

DylanSp commented 6 months ago

https://paarthenon.github.io/variant/

DylanSp commented 6 months ago

Added in https://github.com/DylanSp/deep-future/commit/1df1f8e16ba12e96767b5bafb72213c11b3d80c7.

DylanSp commented 5 months ago

Decided to abandon this library and handwrite sum types to ensure compatibility with Immer and its Immutable<T> type - https://github.com/DylanSp/deep-future/commit/263d4994e8567848619058b7835a14b2e66bcc39.