You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Currently EpochInfo is datatype consisting of bunch of closures, parametrized by monad.
Such datatype cannot be prettyprinted, serialized or otherwise inspected both in Haskell or by developer.
Thus some libraries tend to make custom datatypes storing same information.
Yet seems like it is bounded with monad Either Text everythere. And seems like there is only two functions to modify it. Thus it seems like it could be just regular (possibly modulo Era type families) datatype, something like list of epochs.
The text was updated successfully, but these errors were encountered:
Currently
EpochInfo
is datatype consisting of bunch of closures, parametrized by monad.Such datatype cannot be prettyprinted, serialized or otherwise inspected both in Haskell or by developer.
Thus some libraries tend to make custom datatypes storing same information.
Yet seems like it is bounded with monad
Either Text
everythere. And seems like there is only two functions to modify it. Thus it seems like it could be just regular (possibly modulo Era type families) datatype, something like list of epochs.The text was updated successfully, but these errors were encountered: