The yaml-union package

[Tags:bsd3, library, program, test]

[Skip to Readme]


Versions 0.0.1, 0.0.2
Change log
Dependencies aeson, base (==4.*), bytestring, directory, filepath, optparse-applicative, text, unix, unordered-containers, vector, yaml, yaml-union [details]
License BSD3
Author Michel Kuhlmann
Category Data
Home page
Uploaded Fri Jun 9 17:56:04 UTC 2017 by michelk
Distributions NixOS:0.0.2
Downloads 142 total (13 in the last 30 days)
0 []
Status Docs available [build log]
Last success reported on 2017-06-09 [all 1 reports]
Hackage Matrix CI




Maintainer's Corner

For package maintainers and hackage trustees

Readme for yaml-union

Readme for yaml-union-0.0.2

Command-line program to union yaml-files

  • Travis:
  • Hackage:

The command-line program yaml-union unions yaml-files recursively. When a key appears in multiple files, the values will be overridden with the order given on the command-line. If both values are hashes, the overrides will be done recursively.

The program could be useful in conjunction with pandoc when passing in meta-data from external files.


yaml-union -d meta1.yaml meta2.yaml | pandoc --template tmpl.html


git clone
cd yaml-unions.hs
stack install


  • Optional define yaml-entries on the command-line eg yaml-union -V blue=blau col.yaml