compdoc-dhall-decoder: Allows you to write FromDhall instances for Compdoc

[ bsd3, composite, dhall, library, pandoc ] [ Propose Tags ]


[Last Documentation]

  • Text
    • Compdoc
      • Text.Compdoc.Dhall


Note: This package has metadata revisions in the cabal description newer than included in the tarball. To unpack the package including the revisions, use 'cabal get'.

Maintainer's Corner

Package maintainers

For package maintainers and hackage trustees


  • No Candidates
Versions [RSS],,
Change log
Dependencies base (>=4.7 && <5), compdoc (>=, composite-aeson, composite-base (>=, dhall, either, pandoc, text [details]
License BSD-3-Clause
Author Daniel Firth
Revised Revision 1 made by locallycompact at 2021-08-12T13:30:59Z
Category Composite, Dhall, Pandoc
Source repo head: git clone
Uploaded by locallycompact at 2021-07-26T07:51:03Z
Downloads 482 total (11 in the last 30 days)
Rating (no votes yet) [estimated by Bayesian average]
Your Rating
  • λ
  • λ
  • λ
Status Docs not available [build log]
All reported builds failed as of 2021-07-29 [all 2 reports]

Readme for compdoc-dhall-decoder-

[back to package description]


This module allows you to decode a Compdoc value from markdown.

You should use newtypes like so:

newtype MyDoc = MyDoc (Record (Compdoc '[]))
  deriving stock (Eq, Show, Generic)

instance D.FromDhall MyDoc where
  autoWith options = fmap MyDoc $ compdocDecoder def (recordJsonFormat RNil) options