Safe Haskell | Safe-Inferred |
---|
Instances to serialize and unserialize data types used by Ui.Ui.State.
Types that I think might change have versions. If the type changes, increment the put_version and add a new branch to the get_version case.
Generally, the various parts of ADTs are unpacked with explicit type signatures. That way, if one of the types is changed, there will be a type error over here pointing at the get/put code that needs to be updated.
Documentation
is_old_settings :: Patch.Settings -> Bool Source #