packages feed

HStringTemplate 0.4.2 → 0.4.3

raw patch · 3 files changed

+3/−3 lines, 3 files

Files

HStringTemplate.cabal view
@@ -1,5 +1,5 @@ name:                HStringTemplate-version:             0.4.2+version:             0.4.3 synopsis:            StringTemplate implementation in Haskell. description:         A port of the Java library by Terrence Parr. category:            Text
Text/StringTemplate/Classes.hs view
@@ -1,4 +1,4 @@-{-# LANGUAGE ExistentialQuantification, FlexibleInstances #-}+{-# LANGUAGE ExistentialQuantification, FlexibleInstances, StandaloneDeriving, GeneralizedNewtypeDeriving #-} {-# OPTIONS_HADDOCK not-home #-} module Text.StringTemplate.Classes     (SElem(..), StringTemplateShows(..), ToSElem(..), SMap, STShow(..),
Text/StringTemplate/GenericWithClass.hs view
@@ -19,7 +19,7 @@ toSElemProxy :: Proxy ToSElemD toSElemProxy = error "This value should never be evaluated!" -instance ToSElem a => Sat (ToSElemD a) where+instance (ToSElem a, Data ToSElemD a) => Sat (ToSElemD a) where    dict = ToSElemD { toSElemD = toSElem }  genericToSElem :: (Data ToSElemD a, ToSElem a, Stringable b) => a -> SElem b