generic-print


Package info
Description

This library provides basic functionality for the generic printing and parsing of datatypes.

Readme
# generic-print This library provides basic functionality for the generic printing and parsing of datatypes. ## Licence The package is licensed under the BSD-2-Clause license; for details, see the [LICENSE](/LICENSE) file. The views and conclusions contained in the software and documentation are those of the authors and should not be interpreted as representing official policies, either expressed or implied, of Radboud University Nijmegen.
Changelog
# Changelog #### 3.2.2 - Enhancement: improve documentation of most important classes and functions (`gPrint`, `gParse`, `printToString`, `parseString`). #### 3.2.1 - Chore: support base `3.0`. ### 3.2.0 - Feature: add `gPrint` derivation for `:: JSONNode`. #### 3.1.1 - Fix: the `toString` implementation for `:: Expr`. ### 3.1 - Feature: add derivation of `gPrint` for `:: Either`. ## 3.0 - Removed: undo changes made in version 2.0. The derivations for `gPrint` for `Map`, `Set` and `MaybeError` are now a part of the containers package. ### 2.1 - Feature: add derive of `gPrint` for `FileError`. ## 2.0 - Feature: add derives of `gPrint` for `MaybeError`, `Map` and `Set`. (this is a major update because these derivations were already done in applications, breaking them) #### 1.2.0 - Feature: Add `==` instance for `:: Expr`. #### 1.1.1 - Chore: Support base ^1.0 and ^2.0. ### 1.1.0 - Add `gParse` (from clean platform v0.3.34) and add tests to verify they are their inverses. ## 1.0.0 - Add gPrint derives for the builtin maybe types - Initial version, moved gPrint from clean platform v0.3.34 to seperate package.
Versions