text-show 0.6 → 0.6.0.1
raw patch · 4 files changed
+24/−5 lines, 4 filesdep ~text-show
Dependency ranges changed: text-show
Files
- CHANGELOG.md +3/−0
- README.md +0/−1
- include/overlap.h +18/−0
- text-show.cabal +3/−4
CHANGELOG.md view
@@ -1,3 +1,6 @@+### 0.6.0.1+* Forgot to include some header files in `text-show.cabal`+ # 0.6 * `deriveShow` can now construct instances for data families, using either the data family name or a data instance constructor as an argument. See the documentation in `Text.Show.Text.TH` for more details. * Fixed a bug in which infix backticked data constructors (e.g., ```data Add = Int `Plus` Int```) would not be shown correctly.
README.md view
@@ -7,7 +7,6 @@ For most uses, simply importing `Text.Show.Text` will suffice: ```haskell-{-# LANGUAGE NoImplicitPrelude #-} module Main where import Data.Text (Text)
+ include/overlap.h view
@@ -0,0 +1,18 @@+#ifndef OVERLAP_H+#define OVERLAP_H++#include "utils.h"++#if __GLASGOW_HASKELL__ >= 710+# define __LANGUAGE_OVERLAPPING_INSTANCES__+# define __OVERLAPPABLE__ OPEN_PRAGMA OVERLAPPABLE CLOSE_PRAGMA+# define __OVERLAPPING__ OPEN_PRAGMA OVERLAPPING CLOSE_PRAGMA+# define __OVERLAPS__ OPEN_PRAGMA OVERLAPPABLE CLOSE_PRAGMA+#else+# define __LANGUAGE_OVERLAPPING_INSTANCES__ OPEN_PRAGMA LANGUAGE OverlappingInstances CLOSE_PRAGMA+# define __OVERLAPPABLE__+# define __OVERLAPPING__+# define __OVERLAPS__+#endif++#endif
text-show.cabal view
@@ -1,5 +1,5 @@ name: text-show-version: 0.6+version: 0.6.0.1 synopsis: Efficient conversion of values into Text description: @text-show@ offers a replacement for the @Show@ typeclass intended for use with @Text@ instead of @String@s. This package was created@@ -19,7 +19,6 @@ will suffice: . @- {-# LANGUAGE NoImplicitPrelude #-} module Main where . import Data.Text (Text)@@ -53,7 +52,7 @@ copyright: (C) 2014-2015 Ryan Scott category: Text build-type: Simple-extra-source-files: CHANGELOG.md, README.md, include/inline.h+extra-source-files: CHANGELOG.md, README.md, include/*.h cabal-version: >=1.8 source-repository head@@ -187,7 +186,7 @@ , tasty-hunit >= 0.8 && < 0.10 , tasty-quickcheck >= 0.8 && < 0.9 , text >= 0.8 && < 1.3- , text-show == 0.6+ , text-show == 0.6.0.1 hs-source-dirs: tests ghc-options: -Wall include-dirs: include