From eb60ec18eff7943fb9f22b2d2ad29709b56ce02d Mon Sep 17 00:00:00 2001
From: Bodigrim <andrew.lelechenko@gmail.com>
Date: Wed, 10 May 2023 19:01:02 +0100
Subject: [PATCH] Mention new implementation of GHC.IORef.atomicSwapIORef in
 the changelog

---
 libraries/base/changelog.md | 1 +
 1 file changed, 1 insertion(+)

diff --git a/libraries/base/changelog.md b/libraries/base/changelog.md
index 4ecba619ba42..9daeaff8ab9b 100644
--- a/libraries/base/changelog.md
+++ b/libraries/base/changelog.md
@@ -26,6 +26,7 @@
     which provides a mechanism for custom type errors that reports the errors in
     a more predictable behaviour than `TypeError`.
   * Make `(&)` representation polymorphic in the return type ([CLC proposal #158](https://github.com/haskell/core-libraries-committee/issues/158))
+  * Implement `GHC.IORef.atomicSwapIORef` via a new dedicated primop `atomicSwapMutVar#` ([CLC proposal #139](https://github.com/haskell/core-libraries-committee/issues/139))
 
 ## 4.18.0.0 *March 2023*
   * Shipped with GHC 9.6.1
-- 
GitLab