wszystkie opcje
buster  ] [  bullseye  ] [  bookworm  ] [  trixie  ] [  sid  ]
[ Pakiet źródłowy: haskell-hsx2hs  ]

Pakiet: hsx2hs (0.14.1.11-1 i inne)

Odnośniki dla hsx2hs

Screenshot

Zasoby systemu Debian:

Pobieranie pakietu źródłowego haskell-hsx2hs:

Opiekunowie:

Zasoby zewnętrzne:

Podobne pakiety:

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.

Inne pakiety związane z hsx2hs

  • wymaga
  • poleca
  • sugeruje
  • enhances

Pobieranie hsx2hs

Pobierz dla wszystkich dostępnych architektur
Architektura Wersja Rozmiar pakietu Rozmiar po instalacji Pliki
alpha (port nieoficjalny) 0.13.3.1-6+b2 2 958,7 KiB32 247,0 KiB [lista plików]
amd64 0.14.1.11-1+b1 2 093,0 KiB15 687,0 KiB [lista plików]
arm64 0.14.1.11-1+b1 2 096,6 KiB17 879,0 KiB [lista plików]
armel 0.14.1.11-1+b2 2 584,3 KiB17 730,0 KiB [lista plików]
armhf 0.14.1.11-1+b2 2 652,3 KiB17 542,0 KiB [lista plików]
hppa (port nieoficjalny) 0.14.1.11-1+b2 3 322,1 KiB63 263,0 KiB [lista plików]
i386 0.14.1.11-1 3 104,6 KiB24 680,0 KiB [lista plików]
ia64 (port nieoficjalny) 0.14.1.11-1+b1 4 424,4 KiB118 823,0 KiB [lista plików]
m68k (port nieoficjalny) 0.14.1.10-1 1 870,1 KiB25 703,0 KiB [lista plików]
mips64el 0.14.1.11-1+b1 3 421,4 KiB41 223,0 KiB [lista plików]
ppc64 (port nieoficjalny) 0.14.1.11-1+b1 2 351,8 KiB30 681,0 KiB [lista plików]
ppc64el 0.14.1.11-1+b1 2 381,1 KiB25 847,0 KiB [lista plików]
riscv64 0.14.1.11-1+b2 2 503,1 KiB18 531,0 KiB [lista plików]
s390x 0.14.1.11-1+b1 3 365,4 KiB28 359,0 KiB [lista plików]
sparc64 (port nieoficjalny) 0.14.1.11-1+b1 2 692,6 KiB48 657,0 KiB [lista plików]
x32 (port nieoficjalny) 0.14.1.8-1+b2 5 109,3 KiB20 947,0 KiB [lista plików]