trhsx: trhsx is the preprocessor for Harp and HSP

[ bsd3, deprecated, language, library ] [ Propose Tags ]
Deprecated. in favor of hsx

trhsx, the desugaring pre-processor executable for HaRP and HSP. Requires haskell-src-exts to build.

It is meant to be used as a preprocessor for GHC, with the command 'ghc -F -pgmF trhsx infile'. It can also be used as a separate tool, in which case the command-line syntax is:

$ trhsx <infile> Desugars <infile> and gives the result on standard output.

$ trhsx <infile> <outfile> Desugars <infile> and writes the result to <outfile>.

The pre-processed files rely on pattern guards and will therefore work with GHC only.

For details on usage, please see the website.


Maintainer's Corner

Package maintainers

For package maintainers and hackage trustees


  • No Candidates
Versions [RSS] 0.2.1, 0.2.2
Dependencies base, haskell-src-exts [details]
License BSD-4-Clause
Author Niklas Broberg
Maintainer Niklas Broberg <>
Category Language
Home page
Uploaded by GwernBranwen at 2008-02-25T06:05:52Z
Distributions NixOS:0.2.2
Reverse Dependencies 1 direct, 0 indirect [details]
Executables trhsx
Downloads 1840 total (4 in the last 30 days)
Rating (no votes yet) [estimated by Bayesian average]
Your Rating
  • λ
  • λ
  • λ
Status Docs not available [build log]
All reported builds failed as of 2017-01-03 [all 7 reports]