diff options
Diffstat (limited to 'lib/ur/monad.ur')
-rw-r--r-- | lib/ur/monad.ur | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/lib/ur/monad.ur b/lib/ur/monad.ur index 41f44d3a..73001094 100644 --- a/lib/ur/monad.ur +++ b/lib/ur/monad.ur @@ -5,3 +5,5 @@ fun exec [m ::: Type -> Type] (_ : monad m) [ts ::: {Type}] r (fd : folder ts) = others <- acc; return ({nm = this} ++ others)) (return {}) [ts] fd r + +fun ignore [m ::: Type -> Type] (_ : monad m) [t] (v : m t) = x <- v; return () |