mafoc-0.0.0.1
Safe HaskellSafe-Inferred
LanguageHaskell2010

Mafoc.StateFile

Synopsis

Store

Read

loadLatest :: String -> (FilePath -> IO a) -> IO a -> IO (a, ChainPoint) #

Load ledger state from file, while taking the chain point it's at from the file name.

Parsers

Helpers

splitOn :: Eq a => a -> [a] -> [[a]] #