toutes les options
jessie  ] [  stretch  ] [  buster  ] [  sid  ]
[ Paquet source : haskell-hsx2hs  ]

Paquet : hsx2hs (0.14.1.3-3 et autres)

Liens pour hsx2hs

Screenshot

Ressources Debian :

Télécharger le paquet source haskell-hsx2hs :

Responsables :

Ressources externes :

Paquets similaires :

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.

Autres paquets associés à hsx2hs

  • dépendances
  • recommandations
  • suggestions
  • enhances

Télécharger hsx2hs

Télécharger pour toutes les architectures proposées
Architecture Version Taille du paquet Espace occupé une fois installé Fichiers
amd64 0.14.1.3-3+b3 1 091,3 ko8 776,0 ko [liste des fichiers]
arm64 0.14.1.3-3+b3 1 251,9 ko10 052,0 ko [liste des fichiers]
armel 0.14.1.3-3+b2 1 117,4 ko8 270,0 ko [liste des fichiers]
armhf 0.14.1.3-3+b2 1 116,7 ko8 262,0 ko [liste des fichiers]
i386 0.14.1.3-3+b1 1 089,5 ko6 964,0 ko [liste des fichiers]
mips 0.14.1.3-3+b2 2 163,0 ko32 921,0 ko [liste des fichiers]
mips64el 0.14.1.3-3+b2 2 677,1 ko33 845,0 ko [liste des fichiers]
mipsel 0.14.1.3-3+b2 2 224,4 ko32 921,0 ko [liste des fichiers]
ppc64el 0.14.1.3-3+b3 1 788,0 ko20 024,0 ko [liste des fichiers]
s390x 0.14.1.3-3+b3 3 132,4 ko28 696,0 ko [liste des fichiers]