Adds structure to the Haddock documentation, so that related concepts are grouped together.
Adds basic examples to the functions encode and decode, so that a beginning user will be able to see at a glance how to use the library.
Adds Haddock documentation comments to certain constructors that previously didn't have any.
Increments the latest copyright year to 2020 (for IOHK).
Corrects the erroneous earliest copyright year from 2018 to 2019 (for IOHK). (We only started working on this in 2019, so it makes no sense to list 2018 as a starting year.)
This PR:
encode
anddecode
, so that a beginning user will be able to see at a glance how to use the library.