packages feed

hsx

HSX (Haskell Source with XML) allows literal XML syntax in Haskell source code.

view on Hackage

HSX (Haskell Source with XML) allows literal XML syntax in Haskell source code. The trhsx preprocessor translates .hsx source files into ordinary .hs files. Literal XML syntax is translated into function calls for creating XML values of the appropriate forms. trhsx transforms literal XML syntax into a series of function calls. Any project can make use of the syntax by providing definitions for those functions, and the XML values produced will be of the types specified. This works for any types, since trhsx doesn't make any assumptions, or inserts any information depending on types. XMLGenerator defines a few typeclasses that together cover the functions injected by the preprocessor. A project that uses these classes to provide the semantics for the injected syntax will be able to use any functions written in terms of these, allowing better code reusability than if each project defines its own semantics for the XML syntax. Also, the classes makes it possible to use the literal syntax at different types within the same module. Achieving that is not as simple as it may seem, but the XMLGenerator module provides all the necessary machinery.
versionuploadeduploaderchanges
0.10.52013-09-05 19:59 UTCNiklasBroberg1 revisions+2/−2 lines, 1 filesdep ~haskell-src-extsdep ~utf8-string
0.10.42012-06-14 20:42 UTCNiklasBroberg+5/−4 lines, 2 filesPVP ok
0.10.32012-05-30 12:15 UTCNiklasBroberg+12/−6 lines, 2 filesPVP ok
0.10.22012-04-24 08:11 UTCNiklasBroberg+4/−4 lines, 2 filesdep ~haskell-src-extsPVP ok
0.10.12012-04-23 13:41 UTCNiklasBroberg+3/−3 lines, 2 filesPVP ok
0.10.02012-04-23 13:39 UTCNiklasBroberg+115/−88 lines, 3 filesPVP ok
0.9.12011-05-25 13:50 UTCNiklasBroberg+3/−3 lines, 2 filesdep ~haskell-src-extsPVP: major bump suggested
0.9.02011-01-04 08:15 UTCNiklasBroberg+49/−18 lines, 3 filesdep ~haskell-src-extsPVP ok
0.7.02010-04-22 21:12 UTCNiklasBroberg+54/−23 lines, 4 filesdep ~basePVP ok
0.6.22010-02-19 11:16 UTCNiklasBroberg+1/−1 lines, 2 filesPVP ok
0.6.12009-12-26 14:49 UTCNiklasBroberg+4/−4 lines, 2 filesdep ~haskell-src-extsPVP ok
0.6.02009-12-26 13:26 UTCNiklasBroberg+45/−30 lines, 3 filesdep ~haskell-src-extsPVP ok
0.5.62009-06-26 11:11 UTCNiklasBroberg+2/−2 lines, 1 filesdep ~haskell-src-extsPVP ok
0.5.52009-06-18 23:34 UTCNiklasBroberg+2/−3 lines, 1 filesdep ~haskell-src-extsPVP ok
0.5.22009-06-18 17:25 UTCNiklasBroberg+3/−3 lines, 2 filesdep ~haskell-src-extsPVP ok
0.5.12009-06-17 00:36 UTCNiklasBroberg+2/−2 lines, 1 filesdep ~haskell-src-exts
0.5.02009-06-16 20:42 UTCNiklasBroberg+207/−154 lines, 4 filesdep ~basedep ~haskell-src-exts
0.4.82009-01-26 23:04 UTCNiklasBroberg+15/−14 lines, 2 filesdep ~haskell-src-exts
0.4.62008-11-19 14:10 UTCNiklasBroberg+386/−394 lines, 3 filesdep ~haskell-src-exts
0.4.52008-10-11 18:54 UTCNiklasBroberg+26/−17 lines, 4 filesdep +utf8-string
0.4.42008-05-17 23:14 UTCNiklasBroberg+2149/−194 lines, 6 files
0.42008-03-25 18:33 UTCNiklasBroberg+252/−0 lines, 5 filesdep +basedep +haskell-src-extsdep +mtlsetup-changed

Dependencies of hsx-0.10.5

base (>=3 && <4) && >=4 && <5 4.22.0.0 → 4.22.1.0
2026-12-01 12:38 UTC4.22.1.0 outside bounds+388/−6 lines, 9 filesdep ~ghc-internalPVP: major bump suggested
2025-12-19 11:52 UTC4.22.0.0 outside bounds+886/−215 lines, 28 filesdep ~ghc-internalPVP ok
2026-03-27 12:26 UTC4.21.2.0 outside bounds+10/−3 lines, 4 filesdep ~ghc-internalPVP ok
2025-12-27 10:31 UTC4.21.1.0 outside bounds+17/−5 lines, 4 filesdep ~ghc-internalPVP ok
2024-12-16 09:24 UTC4.21.0.0 outside bounds+1170/−396 lines, 39 filesdep ~ghc-internalPVP ok

showing 5 of 61 versions

haskell-src-exts >=1.13 && <1.14 1.13.5 → 1.24.0 newer than bounds
2026-07-04 05:40 UTC1.24.0 newer than bounds+1040/−69 lines, 33 filesdep ~arraydep ~ghc-primdep ~prettyPVP ok
2020-06-02 02:38 UTC1.23.1 newer than bounds+16/−8 lines, 7 filesdep ~basePVP ok
2020-01-03 21:30 UTC1.23.0 newer than bounds+1756/−13 lines, 20 filesPVP ok
2019-11-01 02:20 UTC1.22.0 newer than bounds+34529/−31943 lines, 66 filesPVP ok
2019-09-03 18:17 UTC1.21.1 newer than bounds+35/−440 lines, 10 filesdep ~basenew-uploaderPVP: major bump suggested

showing 5 of 91 versions

mtl >=0 2.3.1 → 2.3.2
2025-12-08 04:58 UTC2.3.2+112/−21 lines, 12 filesdep ~basenew-uploaderPVP: major bump suggested
2022-10-31 21:28 UTC2.3.1+188/−33 lines, 8 filesdep ~basePVP: major bump suggested
2022-05-07 20:34 UTC2.3+1284/−520 lines, 29 filesdep ~basedep ~transformersnew-uploaderPVP ok
2018-02-24 22:15 UTC2.2.2+152/−36 lines, 14 filesdep ~basePVP: major bump suggested
2014-06-02 02:22 UTC2.2.1+179/−4 lines, 8 filesdep ~basedep ~transformersPVP: major bump suggested

showing 5 of 20 versions

utf8-string <1 0.3.8 → 1.0.2 newer than bounds
2021-01-03 18:33 UTC1.0.2 newer than bounds+286/−46 lines, 8 filesdep +HUnitdep +utf8-stringdep ~basePVP: major bump suggested
2015-08-23 16:19 UTC1.0.1.1 newer than bounds+12/−2 lines, 3 filesdep ~basePVP ok
2015-08-21 22:38 UTC1.0.1 newer than bounds+71/−3 lines, 3 filesdep ~basePVP: major bump suggested
2015-01-23 01:51 UTC1 newer than bounds+17/−194 lines, 5 filesdep ~basePVP ok
2014-05-19 08:05 UTC0.3.8+50/−7 lines, 9 filesdep ~basePVP ok

showing 5 of 16 versions

Reverse dependencies

7 packages depend on hsx

BluePrintCSS 0.1 requires hsx >=0
digestive-functors-hsp 0.5.0 requires hsx >=0.10.2 && <0.11
formlets-hsp 2.3.1 requires hsx >=0
happstack-facebook 0.30 requires hsx >=0.7.0
haskoon 0.3.1.1 requires hsx >=0
hsx-xhtml 0.4.4 requires hsx >=0.4.4
URLT 0.14 requires hsx >=0