uni-util-2.3.0.1: Utilities for the uniform workbench
Util.Store
Description
A Store a contains an (a) value which is only to be computed once, when it is first needed.
Perhaps we should use laziness and unsafePerformIO?
data Store a Source
newStore :: IO (Store a)Source
takeStore :: IO a -> Store a -> IO aSource