uni-util-2.3.0.3: Utilities for the uniform workbench
Safe HaskellSafe-Inferred
LanguageHaskell2010

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?

Documentation

data Store a Source #

takeStore :: IO a -> Store a -> IO a Source #