dhall-toml: Convert between Dhall and TOML

[ bsd3, compiler, library, program ] [ Propose Tags ]

Use this package if you want to convert between dhall expressions and TOML. You can use this package as a library or an executable:

  • See Dhall.DhallToToml or Dhall.TomlToDhall modules if you want to use this package as a library

  • Use dhall-to-toml, toml-to-dhall programs from this package if you want an executable.

The Dhall.DhallToToml and Dhall.TomlToDhall modules also contains instructions for how to use this package

[Skip to Readme]


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] 1.0.0, 1.0.1, 1.0.2, 1.0.3
Change log CHANGELOG.md
Dependencies base (>=4.12 && <5), containers (>=0.5.9 && <0.7), dhall (>=1.39.0 && <1.43), dhall-toml, optparse-applicative (>=0.14 && <0.19), prettyprinter (>=1.7.0 && <1.8), text (>= && <2.1), tomland (>= && <1.4), unordered-containers (>=0.2 && <0.3) [details]
License BSD-3-Clause
Copyright 2021 ear7h
Author ear7h
Maintainer GenuineGabriella@gmail.com
Revised Revision 1 made by GabrielGonzalez at 2023-12-28T02:02:04Z
Category Compiler
Bug tracker https://github.com/dhall-lang/dhall-haskell/issues
Source repo head: git clone https://github.com/dhall-lang/dhall-haskell/tree/master/dhall-toml
Uploaded by GabrielGonzalez at 2023-04-19T03:09:58Z
Distributions NixOS:1.0.3
Executables toml-to-dhall, dhall-to-toml
Downloads 411 total (12 in the last 30 days)
Rating (no votes yet) [estimated by Bayesian average]
Your Rating
  • λ
  • λ
  • λ
Status Docs available [build log]
Last success reported on 2024-01-06 [all 3 reports]

Readme for dhall-toml-1.0.3

[back to package description]


NOTE: this package has not been completed see the roadmap section

For installation or development instructions, see:

Full documentation here:


This dhall-toml package provides a Dhall to TOML compiler.


$ dhall-to-toml <<< "{ foo = 1, bar = True }"
foo = 1
bar = true


    • minimal dhall-to-toml
    • schema inference for toml-to-dhall
    • minimal toml-to-dhall
    • documentation in docs.dhall-lang.org