Skip to content

Commit

Permalink
Added version information.
Browse files Browse the repository at this point in the history
  • Loading branch information
typedbyte committed Oct 21, 2020
1 parent 5387b15 commit 89d212a
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/Control/Effect/Identity.hs
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,8 @@ import qualified Data.Functor.Identity as I
--
-- You usually need this when an expression of type @Monad m => m a@ remains
-- after handling all the effects and you want to extract its pure result.
--
-- @since 0.3.0.2
runIdentity :: I.Identity a -> a
runIdentity = I.runIdentity
{-# INLINE runIdentity #-}

0 comments on commit 89d212a

Please sign in to comment.