Copyright | (c) Amy de Buitléir 2014 |
---|---|
License | BSD-style |
Maintainer | amy@nualeargais.ie |
Stability | experimental |
Portability | portable |
Safe Haskell | None |
Language | Haskell98 |
An exhaustible resource which persists between runs.
- class EnergyPool e where
- type PersistentEnergyPool = Persistent Double
- mkPersistentEnergyPool :: FilePath -> PersistentEnergyPool
Documentation
class EnergyPool e where Source
mkPersistentEnergyPool :: FilePath -> PersistentEnergyPool Source
Creates a resource that will store its value in the specified file.