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

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

Modules

[Last Documentation]

  • Text
    • Compdoc
      • Text.Compdoc.Dhall

Downloads

Maintainer's Corner

Package maintainers

For package maintainers and hackage trustees

Candidates

  • No Candidates
Versions [RSS] 0.1.0.0, 0.2.0.0, 0.3.0.0
Change log ChangeLog.md
Dependencies base (>=4.7 && <5), compdoc, composite-aeson, composite-base, dhall, either, pandoc, text [details]
License BSD-3-Clause
Copyright dan.firth@homotopic.tech
Author Daniel Firth
Maintainer dan.firth@homotopic.tech
Category dhall pandoc
Source repo head: git clone https://gitlab.com/homotopic-tech/compdoc-dhall-decoder
Uploaded by locallycompact at 2020-10-31T21:44:21Z
Distributions
Downloads 450 total (15 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 2020-11-01 [all 3 reports]

Readme for compdoc-dhall-decoder-0.1.0.0

[back to package description]

compdoc-dhall-decoder

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