pandoc-dhall-decoder: Decodes pandoc to dhall.

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


[Index] [Quick Jump]


Maintainer's Corner

Package maintainers

For package maintainers and hackage trustees


  • No Candidates
Versions [RSS],
Change log
Dependencies base (>=4.7 && <5), dhall, either, pandoc, text [details]
License BSD-3-Clause
Author Daniel Firth
Category dhall pandoc
Source repo head: git clone
Uploaded by locallycompact at 2020-10-31T21:00:31Z
Distributions LTSHaskell:, NixOS:
Downloads 406 total (10 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-

[back to package description]


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