All Versions
Latest Version
Avg Release Cycle
Latest Release

Changelog History
Page 1

  • v0.10.3 Changes

    • ๐Ÿ›  Fix a bug where Proc was incorrectly translated into Lambda.
  • v0.10.2 Changes

    • Explicit signatures are added to String attributes and attribute names, to play nice with OverloadedStrings (thanks Jeremy Shaw).

    • ๐Ÿ› Bug fix where HSX.Transform treated := as a QVarOp instead of QConOp (thanks again Jeremy).

  • v0.10.1 Changes

    • ๐Ÿ–จ Turns out fixity information was needed for proper pretty-printing. Turned it back on again, hoping to remove it when later switching to exact-printing instead.

    • Also bump lower version bound for haskell-src-exts dependency.

  • v0.10.0 Changes

    • trhsx no longer performs unnecessary fixity resolution before transforming, which avoids problems with unknown imported operators in some cases.
  • v0.9.1 Changes

    • ๐Ÿ“‡ Rename the associated types in XMLGen, to avoid frequent name clashes (and enable compilation of various client libraries on GHC 7.4 without the need for CPP).

    • Literal CDATA strings are now annotated with an explicit type signature, to avoid unnecessary ambiguity when OverloadedStrings is enabled.

    • Class XMLGenerator m now has EmbedAsChild m () as premise, and there is a default instance XMLGen m => EmbedAsChild m ().

    • ๐Ÿ› Bug fix in the AST generated by trhsx: Nothing is now generated using 'con nothing_name' instead of 'var nothing_name'. Same with Just. Thanks Jeremy Shaw for the patch.

  • v0.9.0 Changes

    • โฌ†๏ธ Upgrade to haskell-src-exts 1.11. Only change is to add a Just constructor in Trhsx to the fixities used when parsing, to retain the previous behavior.
  • v0.8.0 Changes

    • โฌ†๏ธ Several small changes relating to upgrades to use type equality constraints.
  • v0.7.0 Changes

    • Introduce the new child tag syntax available with haskell-src-exts 1.10.x:


    now translates into the equivalent of

    asChild [asChild <foo/>, asChild "bar"]

    (though of course with appropriate translation of the component as well).

  • v0.6.1 Changes

    • ๐ŸŒ Give PCDATA children special treatment in the XMLGenerator translations. This is to avoid situations where GHC has too little information to pick the correct instances, and if the only children it sees are PCDATA strings then it defaults to (XML m ~ String). Strings can now never be the XML type of any generator, but chances are fairly small that anyone ever wanted that anyway. It also means that there is always a default instance for EmbedAsChild for literal strings.

    • ๐Ÿ›  Fix a bug with an erroneous parenthesis in the output of trhsx { (map (asAttr x)) instead of the correct (map asAttr x) }.

    • Import OldException on newer versions of base.

    • โž• Add mapXMLGenT to XMLGenerator, to allow mapping over the inner monad of a generator.

    • Slight change to the format of error messages, to make them emacs-friendly.

  • v0.6.0 Changes

    • โฌ†๏ธ Upgrade to haskell-src-exts 1.5. Only change is to set the parsing to ignore LINE pragmas.