cabal-version: 1.12 -- This file has been generated from package.yaml by hpack version 0.33.0. -- -- see: https://github.com/sol/hpack -- -- hash: 7ca000695b1736343d55f84c74afbcae865928381dbf7021520c40545e862d5e name: restartable version: 0.2.0.0 synopsis: Minimal live coding library for model-view-event-update applications. description: Minimal live coding library. It can store model of the model-view-event-update applications. It uses `FromJSON` and `ToJSON` with default value for absent data elements, and `Generic` parser otherwise: . > import Initially(initially, Initial) > data MyModel = Model { timestamp :: UTCTime } > instance ToJSON MyModel where > instance FromJSON MyModel where > parseJSON = initially myDefaultValue > instance Initial MyModel > > main = restartable . It is preferred to attach initial value to every substructure, so whenever it fails to parse the remaining part of the state is still parsed correctly. homepage: https://github.com/mjgajda/restartable#readme bug-reports: https://github.com/mjgajda/restartable/issues author: MichaƂ J. Gajda maintainer: mjgajda@migamake.com copyright: '2020 license: BSD3 license-file: LICENSE build-type: Simple extra-source-files: README.md ChangeLog.md source-repository head type: git location: https://github.com/mjgajda/restartable library exposed-modules: Control.Restartable.Checkpoint Control.Restartable.Initial Test.Initial other-modules: Paths_restartable hs-source-dirs: src build-depends: aeson , base >=4.7 && <5 , bytestring , unix default-language: Haskell2010