Skip to content

Commit c89f700

Browse files
committed
use TypeAbstractions
1 parent c26eca5 commit c89f700

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

src/Ondim/Internal/Core.hs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
{-# LANGUAGE AllowAmbiguousTypes #-}
2+
{-# LANGUAGE TypeAbstractions #-}
23
{-# OPTIONS_GHC -Wno-orphans #-}
34

45
module Ondim.Internal.Core
@@ -8,7 +9,6 @@ module Ondim.Internal.Core
89
getTemplate,
910
getNamespace,
1011
getText,
11-
1212
-- Exceptions
1313
withoutNBErrors,
1414
withNBErrors,
@@ -19,6 +19,7 @@ module Ondim.Internal.Core
1919
throwExpFailure,
2020
) where
2121

22+
import Control.Monad.Except (MonadError (..))
2223
import Data.Bitraversable (bimapM)
2324
import Data.HashMap.Strict qualified as HMap
2425
import Data.Typeable (eqT, (:~:) (..))
@@ -27,7 +28,6 @@ import Ondim.Internal.Class
2728
import Ondim.State
2829
import Type.Reflection (SomeTypeRep, someTypeRep)
2930
import Prelude hiding (All)
30-
import Control.Monad.Except (MonadError(..))
3131

3232
-- Get stuff from state
3333

0 commit comments

Comments
 (0)