packages feed

lucid 2.11.20230408 → 2.11.20250303

raw patch · 3 files changed

+8/−13 lines, 3 filesdep ~basePVP: major bump suggested

API removals or changes: PVP suggests a major version bump

Dependency ranges changed: base

API changes (from Hackage documentation)

- Lucid.Base: instance Lucid.Base.ToHtml Data.ByteString.Internal.ByteString
+ Lucid.Base: instance Lucid.Base.ToHtml Data.ByteString.Internal.Type.ByteString

Files

CHANGELOG.md view
@@ -1,5 +1,9 @@ ## Upcoming +## 2.11.20250303++* Support GHC 9.12+ ## 2.11.20230408  * Don't expect Control.Monad to be re-exported from mtl anymore
lucid.cabal view
@@ -1,5 +1,5 @@ name:                lucid-version:             2.11.20230408+version:             2.11.20250303 synopsis:            Clear to write, read and edit DSL for HTML description:   Clear to write, read and edit DSL for HTML.@@ -33,7 +33,7 @@                      Lucid.Bootstrap    -- GHC boot libraries-  build-depends:     base                   >=4.8      && <4.19+  build-depends:     base                   >=4.8      && <4.22                    , bytestring             >=0.10.6.0                    , containers             >=0.5.6.2                    , transformers           >=0.4.2.0
src/Lucid/Base.hs view
@@ -4,7 +4,7 @@ {-# LANGUAGE FlexibleInstances #-} {-# LANGUAGE MultiParamTypeClasses #-} {-# LANGUAGE GADTs #-}-{-# LANGUAGE DeriveDataTypeable #-}+{-# LANGUAGE TypeOperators #-}  -- Search for UndecidableInstances to see why this is needed {-# LANGUAGE UndecidableInstances #-}@@ -66,7 +66,6 @@ import qualified Data.Text.Lazy as LT import qualified Data.Text.Lazy.Encoding as LT import qualified Data.Text.Encoding as T-import           Data.Typeable (Typeable) import           Prelude import           Data.Maybe import           Data.Sequence (Seq)@@ -81,7 +80,7 @@ -- 'makeAttribute'.  Attributes are case sensitive, so if you want -- attributes to be merged properly, use a single case representation. data Attribute = Attribute !Text !Text-  deriving (Show,Eq,Typeable)+  deriving (Show,Eq)  instance Hashable Attribute where   hashWithSalt salt (Attribute a b) = salt `hashWithSalt` a `hashWithSalt` b@@ -105,14 +104,6 @@          -- pass 'mempty' for this argument for a top-level call. See          -- 'evalHtmlT' and 'execHtmlT' for easier to use functions.          }--- GHC 7.4 errors with---  Can't make a derived instance of `Typeable (HtmlT m a)':---    `HtmlT' must only have arguments of kind `*'--- GHC 7.6 errors with---    `HtmlT' must only have arguments of kind `*'-#if  __GLASGOW_HASKELL__ >= 707-  deriving (Typeable)-#endif  -- | @since 2.9.5 instance MFunctor HtmlT where