pandoc-dhall-decoder: Decodes pandoc to dhall.

[ bsd3, dhall-pandoc, library ] [ Propose Tags ] [ Report a vulnerability ]

Modules

[Index] [Quick Jump]

Downloads

Maintainer's Corner

Package maintainers

For package maintainers and hackage trustees

Candidates

  • No Candidates
Versions [RSS] 0.1.0.0, 0.1.0.1
Change log ChangeLog.md
Dependencies base (>=4.7 && <5), 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/pandoc-dhall-decoder
Uploaded by locallycompact at 2020-10-31T21:00:31Z
Distributions NixOS:0.1.0.1
Downloads 482 total (9 in the last 30 days)
Rating (no votes yet) [estimated by Bayesian average]
Your Rating
  • λ
  • λ
  • λ
Status Docs available [build log]
Last success reported on 2020-10-31 [all 1 reports]

Readme for pandoc-dhall-decoder-0.1.0.1

[back to package description]

pandoc-dhall-decoder

This module allows you to decode a Pandoc value using any Text.Pandoc.Readers function.

You should use newtypes like so:

newtype MyDoc = MyDoc Pandoc
  deriving stock (Eq, Show, Generic)

instance D.FromDhall MyDoc where
  autoWith options = fmap MyDoc $ pandocDecoder readMarkdown def options