From 41b17d3456d1b3371f805ae75aed6a9441ed9a04 Mon Sep 17 00:00:00 2001 From: Robert Vollmert Date: Thu, 2 Apr 2020 20:22:06 +0200 Subject: [PATCH] Re-export STM.orElse It is redundant with <|>, but used frequently in documentation, e.g. in "Parallel and Concurrent Programming in Haskell". --- unliftio/ChangeLog.md | 4 ++++ unliftio/src/UnliftIO/STM.hs | 1 + 2 files changed, 5 insertions(+) diff --git a/unliftio/ChangeLog.md b/unliftio/ChangeLog.md index bf5370e..6e07d57 100644 --- a/unliftio/ChangeLog.md +++ b/unliftio/ChangeLog.md @@ -1,5 +1,9 @@ # Changelog for unliftio +## 0.2.13 + +* Add `UnliftIO.STM.orElse` + ## 0.2.12.1 * Minor doc improvements diff --git a/unliftio/src/UnliftIO/STM.hs b/unliftio/src/UnliftIO/STM.hs index 0bf2ae8..ac8c6b3 100644 --- a/unliftio/src/UnliftIO/STM.hs +++ b/unliftio/src/UnliftIO/STM.hs @@ -8,6 +8,7 @@ module UnliftIO.STM , atomically , retrySTM , checkSTM + , STM.orElse -- * TVar , STM.TVar