src/HOL/Library/Tools/lazy.hs
author wenzelm
Wed, 06 Aug 2025 17:39:03 +0200
changeset 82961 6a69754cf371
parent 82379 3f875966c3e1
permissions -rw-r--r--
merged

{- 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