This adds tests demonstrating the problem described in #22 between once and writeRef. (Plus a couple of tiny commits to make guanxi build on GHC 9.2.) The tests will currently fail: a line like rs `shouldBe` [2,1] `butIs` [2,2] means the test expects a result of [2,1] but the current implementation delivers [2,2].
This adds tests demonstrating the problem described in #22 between
once
andwriteRef
. (Plus a couple of tiny commits to makeguanxi
build on GHC 9.2.) The tests will currently fail: a line likers `shouldBe` [2,1] `butIs` [2,2]
means the test expects a result of[2,1]
but the current implementation delivers[2,2]
.cc @np