uni-util-2.3.0.0: Utilities for the uniform workbench

Safe HaskellSafe-Inferred

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 aSource