all options
jessie  ] [  stretch  ] [  buster  ] [  sid  ]
[ Source: haskell-hsx2hs  ]

Package: hsx2hs (0.14.1.1-1 and others)

Links for hsx2hs

Screenshot

Debian Resources:

Download Source Package haskell-hsx2hs:

Maintainers:

External Resources:

Similar packages:

literal XML syntax in Haskell source code - preprocessor

HSX (Haskell Source with XML) allows literal XML syntax in Haskell source code. The hsx2hs 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. hsx2hs 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 hsx2hs 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.

This contains the hsx2hs executable for preprocessing.

Other Packages Related to hsx2hs

  • depends
  • recommends
  • suggests
  • enhances

Download hsx2hs

Download for all available architectures
Architecture Version Package Size Installed Size Files
alpha (unofficial port) 0.13.3.1-6+b2 2,958.7 kB32,247.0 kB [list of files]
amd64 0.14.1.1-1 1,056.5 kB8,370.0 kB [list of files]
arm64 0.14.1.1-1 2,162.3 kB22,561.0 kB [list of files]
armel 0.14.1.1-1 1,729.1 kB12,797.0 kB [list of files]
armhf 0.14.1.1-1 1,788.7 kB12,749.0 kB [list of files]
hppa (unofficial port) 0.14.1.1-1 2,475.5 kB30,217.0 kB [list of files]
hurd-i386 0.14.1.1-1 1,593.6 kB9,923.0 kB [list of files]
i386 0.14.1.1-1 1,059.8 kB6,642.0 kB [list of files]
kfreebsd-amd64 0.14.1.1-1 1,600.0 kB12,645.0 kB [list of files]
kfreebsd-i386 0.14.1.1-1 1,608.8 kB9,965.0 kB [list of files]
mips64el 0.14.1.1-1 2,609.4 kB29,761.0 kB [list of files]
powerpc 0.14.1.1-1 938.4 kB8,223.0 kB [list of files]
ppc64 (unofficial port) 0.14.1.1-1 1,640.7 kB23,326.0 kB [list of files]
ppc64el 0.14.1.1-1 1,640.1 kB19,419.0 kB [list of files]
s390x 0.14.1.1-1 4,591.1 kB38,627.0 kB [list of files]
sparc64 (unofficial port) 0.14.1.1-1 2,675.0 kB44,802.0 kB [list of files]
x32 (unofficial port) 0.13.5-1 5,593.9 kB24,479.0 kB [list of files]