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

Package: libghc-hsx2hs-dev ( and others)

Links for libghc-hsx2hs-dev


Debian Resources:

Download Source Package haskell-hsx2hs:


External Resources:

Similar packages:

literal XML syntax in Haskell source code

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 package provides a library for the Haskell programming language. See for more information on Haskell.

Other Packages Related to libghc-hsx2hs-dev

  • depends
  • recommends
  • suggests
  • enhances

Download libghc-hsx2hs-dev

Download for all available architectures
Architecture Version Package Size Installed Size Files
alpha (unofficial port) 169.8 kB1,866.0 kB [list of files]
amd64 117.9 kB998.0 kB [list of files]
arm64 163.8 kB1,968.0 kB [list of files]
armel 130.2 kB953.0 kB [list of files]
armhf 146.5 kB1,017.0 kB [list of files]
hppa (unofficial port) 218.3 kB2,138.0 kB [list of files]
hurd-i386 112.4 kB733.0 kB [list of files]
i386 112.2 kB733.0 kB [list of files]
kfreebsd-amd64 117.4 kB997.0 kB [list of files]
kfreebsd-i386 111.9 kB731.0 kB [list of files]
mips64el 153.7 kB1,905.0 kB [list of files]
powerpc 114.4 kB991.0 kB [list of files]
ppc64 (unofficial port) 141.4 kB1,950.0 kB [list of files]
ppc64el 142.4 kB1,695.0 kB [list of files]
s390x 218.2 kB2,819.0 kB [list of files]
sparc64 (unofficial port) 196.3 kB3,295.0 kB [list of files]
x32 (unofficial port) 0.13.5-1 204.8 kB1,427.0 kB [list of files]