Skip to content

Commit

Permalink
Don't import the strict ST module (though it doesn't help)
Browse files Browse the repository at this point in the history
  • Loading branch information
snejugal committed Jul 29, 2024
1 parent feacc1f commit 4bc56d6
Show file tree
Hide file tree
Showing 5 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion src/Kanren/Core.hs
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@ import Data.Bifunctor (first)
import Data.IntMap.Strict (IntMap)
import qualified Data.IntMap.Strict as IntMap
import Data.Maybe (fromMaybe)
import Data.STRef.Strict (STRef, modifySTRef', newSTRef, readSTRef, writeSTRef)
import Data.STRef (STRef, modifySTRef', newSTRef, readSTRef, writeSTRef)
import Data.Tagged (Tagged (Tagged, unTagged))
import GHC.Exts (IsList (..))
import GHC.Generics (Generic)
Expand Down
2 changes: 1 addition & 1 deletion src/Kanren/Example/List.hs
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ module Kanren.Example.List (example) where
import Data.Function ((&))
import Data.Maybe (fromJust)

import Control.Monad.ST.Strict (runST)
import Control.Monad.ST (runST)
import Kanren.Core
import Kanren.Goal
import Kanren.LogicalBase
Expand Down
2 changes: 1 addition & 1 deletion src/Kanren/GenericLogical.hs
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@ module Kanren.GenericLogical (
GLogical,
) where

import Control.Monad.ST.Strict (ST)
import Control.Monad.ST (ST)
import Data.Proxy (Proxy (..))
import GHC.Generics

Expand Down
2 changes: 1 addition & 1 deletion src/Kanren/Goal.hs
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ module Kanren.Goal (

import Control.Applicative (Alternative (..))
import Control.Monad (ap)
import Control.Monad.ST.Strict (ST)
import Control.Monad.ST (ST)
import qualified Data.Foldable as Foldable

import Kanren.Core
Expand Down
2 changes: 1 addition & 1 deletion src/Kanren/Stream.hs
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ module Kanren.Stream (
interleaveSTStream,
) where

import Control.Monad.ST.Strict (ST)
import Control.Monad.ST (ST)
import Prelude hiding (take)

data Stream a
Expand Down

0 comments on commit 4bc56d6

Please sign in to comment.