packages feed

Interpolation 0.2.4 → 0.2.5

raw patch · 2 files changed

+9/−7 lines, 2 filesdep ~base

Dependency ranges changed: base

Files

Data/String/Interpolation.hs view
@@ -1,4 +1,4 @@-{-# LANGUAGE QuasiQuotes,TemplateHaskell,DeriveDataTypeable,PatternGuards #-}+{-# LANGUAGE CPP,QuasiQuotes,TemplateHaskell,DeriveDataTypeable,PatternGuards #-} module Data.String.Interpolation(str,endline,tab) where import Language.Haskell.TH as TH import Language.Haskell.TH.Quote@@ -22,7 +22,7 @@ --   Repetitive patterns can be made with # symbol:  -- --  @---  \#\<var\> in \<list\>: \<interpolated string\> (|\<interpolated string\>)\#+--  \#\<pattern\> in \<list\>: \<interpolated string\> (|\<interpolated string\>)\# --  @ --    --   Where (|\<interpolated string\>) denotes optional separator for the @@ -67,13 +67,15 @@ --    --   e --   @-+#if __GLASGOW_HASKELL__ >= 701+#else str  :: QuasiQuoter-str  =  QuasiQuoter quoteExprExp undefined+str  =  QuasiQuoter quoteExprExp undefined undefined undefined   debugStr :: QuasiQuoter -debugStr = QuasiQuoter (stringE) undefined+debugStr = QuasiQuoter (stringE) undefined undefined undefined  +#endif -- ** Predefined strings  -- | End of the line  
Interpolation.cabal view
@@ -1,5 +1,5 @@ Name:                  Interpolation-Version:             0.2.4+Version:             0.2.5 Description:         This package adds quasiquoter for multiline                       strings, interpolation and simple templating.                      It can handle repetition templates which makes it@@ -15,6 +15,6 @@ Cabal-Version:       >=1.2  Library-  Build-Depends:     base >= 4, syb, template-haskell, haskell-src-meta+  Build-Depends:     base >= 3 && <=4, syb, template-haskell, haskell-src-meta   Exposed-modules:   Data.String.Interpolation   ghc-options:       -Wall