packages feed

text-display 0.0.5.0 → 0.0.5.1

raw patch · 9 files changed

+8/−116 lines, 9 filesdep ~bytestringPVP: major bump suggested

API removals or changes: PVP suggests a major version bump

Dependency ranges changed: bytestring

API changes (from Hackage documentation)

- Data.Text.Display.Generic: type AssertNoSumRecordInstance (constraint :: Type -> Constraint) a = Assert (Not (HasSum (Rep a))) ('Text "🚫 Cannot derive " ':<>: 'ShowType constraint ':<>: 'Text " instance for " ':<>: 'ShowType a ':<>: 'Text " via RecordInstance due to sum type" ':$$: 'Text "💡 Sum types should use a manual instance or derive one via ShowInstance.")
+ Data.Text.Display.Generic: type AssertNoSumRecordInstance (constraint :: Type -> Constraint) a = Assert (Not (HasSum (Rep a))) ('Text "🚫 Cannot derive " :<>: 'ShowType constraint :<>: 'Text " instance for " :<>: 'ShowType a :<>: 'Text " via RecordInstance due to sum type" :$$: 'Text "💡 Sum types should use a manual instance or derive one via ShowInstance.")

Files

CHANGELOG.md view
@@ -1,5 +1,9 @@ # CHANGELOG +## [v0.0.5.1] - 04/11/2023++*  Allow bytestring 0.12 (for GHC 9.8) [#58](https://github.com/haskell-text/text-display/pull/58)+ ## [v0.0.5.0] - 16/05/2023  * Add Generic machinery (GDisplay1) and RecordInstance newtype for deriving via (https://github.com/haskell-text/text-display/pull/52)
doc/book/404.html view
@@ -166,22 +166,6 @@          </div> -        <!-- Livereload script (if served using the cli tool) -->-        <script>-            const wsProtocol = location.protocol === 'https:' ? 'wss:' : 'ws:';-            const wsAddress = wsProtocol + "//" + location.host + "/" + "__livereload";-            const socket = new WebSocket(wsAddress);-            socket.onmessage = function (event) {-                if (event.data === "reload") {-                    socket.close();-                    location.reload();-                }-            };--            window.onbeforeunload = function() {-                socket.close();-            }-        </script>   
doc/book/Comparison.html view
@@ -188,22 +188,6 @@          </div> -        <!-- Livereload script (if served using the cli tool) -->-        <script>-            const wsProtocol = location.protocol === 'https:' ? 'wss:' : 'ws:';-            const wsAddress = wsProtocol + "//" + location.host + "/" + "__livereload";-            const socket = new WebSocket(wsAddress);-            socket.onmessage = function (event) {-                if (event.data === "reload") {-                    socket.close();-                    location.reload();-                }-            };--            window.onbeforeunload = function() {-                socket.close();-            }-        </script>   
doc/book/Design.html view
@@ -276,22 +276,6 @@          </div> -        <!-- Livereload script (if served using the cli tool) -->-        <script>-            const wsProtocol = location.protocol === 'https:' ? 'wss:' : 'ws:';-            const wsAddress = wsProtocol + "//" + location.host + "/" + "__livereload";-            const socket = new WebSocket(wsAddress);-            socket.onmessage = function (event) {-                if (event.data === "reload") {-                    socket.close();-                    location.reload();-                }-            };--            window.onbeforeunload = function() {-                socket.close();-            }-        </script>   
doc/book/Introduction.html view
@@ -170,22 +170,6 @@          </div> -        <!-- Livereload script (if served using the cli tool) -->-        <script>-            const wsProtocol = location.protocol === 'https:' ? 'wss:' : 'ws:';-            const wsAddress = wsProtocol + "//" + location.host + "/" + "__livereload";-            const socket = new WebSocket(wsAddress);-            socket.onmessage = function (event) {-                if (event.data === "reload") {-                    socket.close();-                    location.reload();-                }-            };--            window.onbeforeunload = function() {-                socket.close();-            }-        </script>   
doc/book/Tutorial.html view
@@ -223,22 +223,6 @@          </div> -        <!-- Livereload script (if served using the cli tool) -->-        <script>-            const wsProtocol = location.protocol === 'https:' ? 'wss:' : 'ws:';-            const wsAddress = wsProtocol + "//" + location.host + "/" + "__livereload";-            const socket = new WebSocket(wsAddress);-            socket.onmessage = function (event) {-                if (event.data === "reload") {-                    socket.close();-                    location.reload();-                }-            };--            window.onbeforeunload = function() {-                socket.close();-            }-        </script>   
doc/book/index.html view
@@ -170,22 +170,6 @@          </div> -        <!-- Livereload script (if served using the cli tool) -->-        <script>-            const wsProtocol = location.protocol === 'https:' ? 'wss:' : 'ws:';-            const wsAddress = wsProtocol + "//" + location.host + "/" + "__livereload";-            const socket = new WebSocket(wsAddress);-            socket.onmessage = function (event) {-                if (event.data === "reload") {-                    socket.close();-                    location.reload();-                }-            };--            window.onbeforeunload = function() {-                socket.close();-            }-        </script>   
doc/book/print.html view
@@ -334,22 +334,6 @@          </div> -        <!-- Livereload script (if served using the cli tool) -->-        <script>-            const wsProtocol = location.protocol === 'https:' ? 'wss:' : 'ws:';-            const wsAddress = wsProtocol + "//" + location.host + "/" + "__livereload";-            const socket = new WebSocket(wsAddress);-            socket.onmessage = function (event) {-                if (event.data === "reload") {-                    socket.close();-                    location.reload();-                }-            };--            window.onbeforeunload = function() {-                socket.close();-            }-        </script>   
text-display.cabal view
@@ -1,13 +1,13 @@ cabal-version:      3.0 name:               text-display-version:            0.0.5.0+version:            0.0.5.1 category:           Text synopsis:           A typeclass for user-facing output description:   The 'Display' typeclass provides a solution for user-facing output that does not have to abide by the rules of the Show typeclass.  homepage:-  https://hackage.haskell.org/package/text-display-0.0.4.0/docs/doc/book/Introduction.html+  https://hackage.haskell.org/package/text-display-0.0.5.0/docs/doc/book/Introduction.html  bug-reports:        https://github.com/haskell-text/text-display/issues author:             Hécate Moonlight@@ -15,7 +15,7 @@ license:            MIT build-type:         Simple tested-with:-  GHC ==8.8.4 || ==8.10.7 || ==9.0.2 || ==9.2.7 || ==9.4.5 || ==9.6.1+  GHC ==8.8.4 || ==8.10.7 || ==9.0.2 || ==9.2.8 || ==9.4.7 || ==9.6.3 || ==9.8.1  extra-source-files:   LICENSE@@ -67,7 +67,7 @@     Data.Text.Display.Generic   build-depends:     , base        >=4.12 && <5.0-    , bytestring  >=0.10 && <0.12+    , bytestring  >=0.10 && <0.13     , text        >=2.0  executable book