Skip to content

Commit 321f4e3

Browse files
author
Clifford Beshers
committed
updates for ghc 9, TypeOperators for type identity ~, and switch Control.Monad.Error to Except for MonadError
1 parent 096a364 commit 321f4e3

2 files changed

Lines changed: 3 additions & 1 deletion

File tree

HSP/JMacro.hs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
{-# LANGUAGE FlexibleContexts, FlexibleInstances, MultiParamTypeClasses, UndecidableInstances, QuasiQuotes, TypeSynonymInstances, OverloadedStrings, TypeFamilies #-}
2+
{-# LANGUAGE TypeOperators #-}
23
{-# OPTIONS_GHC -fno-warn-orphans #-}
34
-- | This module provides support for:
45
--

HSP/JMacroT.hs

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
{-# LANGUAGE FlexibleContexts, FlexibleInstances, GeneralizedNewtypeDeriving, MultiParamTypeClasses, TypeFamilies, TypeSynonymInstances, QuasiQuotes, OverloadedStrings #-}
2+
{-# LANGUAGE TypeOperators #-}
23
-- | This experimental module provides a monad transformer 'JMacroT'
34
-- and corresponding 'XMLGenerator' instance which can be used to
45
-- directly generate javascript which builds an XML/HTML DOM.
@@ -21,7 +22,7 @@ import Control.Applicative (Applicative, Alternative)
2122
import Control.Monad (MonadPlus)
2223
import Control.Monad.Cont (MonadCont)
2324
import Control.Monad.Identity (Identity(..))
24-
import Control.Monad.Error (MonadError)
25+
import Control.Monad.Except (MonadError)
2526
import Control.Monad.Reader (MonadReader)
2627
import Control.Monad.State (MonadState)
2728
import Control.Monad.Writer (MonadWriter)

0 commit comments

Comments
 (0)