Safe Haskell | Safe-Inferred |
---|
Functions to save and load the midi db.
Unlike in Cmd.Serialize, I don't bother with versions here, because this is intended to be just a cache.
Synopsis
- serialize :: FilePath -> InstrumentDb -> IO ()
- unserialize :: FilePath -> IO (Either Serialize.UnserializeError InstrumentDb)
- data InstrumentDb = InstrumentDb UTCTime (Map InstT.Name (Patch.Patch, Common.Common ()))
Documentation
unserialize :: FilePath -> IO (Either Serialize.UnserializeError InstrumentDb) Source #
Unserialize instrument definitions.