changeset 82379 | 3f875966c3e1 |
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/src/HOL/Library/Tools/lazy.hs Sun Mar 30 13:50:06 2025 +0200 @@ -0,0 +1,8 @@ +{- Author: Pascal Stoop, ETH Zurich + Author: Andreas Lochbihler, Digital Asset -} + +module Lazy(Lazy, delay, force) where + +newtype Lazy a = Lazy a +delay f = Lazy (f ()) +force (Lazy x) = x