tüm seçenekler
buster  ] [  bullseye  ] [  bookworm  ] [  trixie  ] [  sid  ]
[ Kaynak: haskell-hsx2hs  ]

Paket: hsx2hs (0.14.1.11-1 ve diğerleri)

hsx2hs için bağlantılar

Screenshot

Debian Kaynakları:

haskell-hsx2hs Kaynak Paketini İndir:

Geliştiriciler:

Dış Kaynaklar:

Benzer paketler:

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.

hsx2hs ile İlgili Diğer Paketler

  • bağımlılıklar
  • tavsiye edilen
  • önerilen
  • enhances

hsx2hs indir

Tüm mevcut mimariler için indir
Mimari Sürüm Paket Boyutu Kurulu Boyut Dosyalar
alpha (resmi olmayan port) 0.13.3.1-6+b2 2.958,7 kB32.247,0 kB [dosya listesi]
amd64 0.14.1.11-1+b1 2.093,0 kB15.687,0 kB [dosya listesi]
arm64 0.14.1.11-1+b1 2.096,6 kB17.879,0 kB [dosya listesi]
armel 0.14.1.11-1+b2 2.584,3 kB17.730,0 kB [dosya listesi]
armhf 0.14.1.11-1+b2 2.652,3 kB17.542,0 kB [dosya listesi]
hppa (resmi olmayan port) 0.14.1.11-1+b2 3.322,1 kB63.263,0 kB [dosya listesi]
i386 0.14.1.11-1 3.104,6 kB24.680,0 kB [dosya listesi]
ia64 (resmi olmayan port) 0.14.1.11-1+b1 4.424,4 kB118.823,0 kB [dosya listesi]
m68k (resmi olmayan port) 0.14.1.10-1 1.870,1 kB25.703,0 kB [dosya listesi]
mips64el 0.14.1.11-1+b1 3.421,4 kB41.223,0 kB [dosya listesi]
ppc64 (resmi olmayan port) 0.14.1.11-1+b1 2.351,8 kB30.681,0 kB [dosya listesi]
ppc64el 0.14.1.11-1+b1 2.381,1 kB25.847,0 kB [dosya listesi]
riscv64 0.14.1.11-1+b1 2.504,3 kB18.552,0 kB [dosya listesi]
s390x 0.14.1.11-1+b1 3.365,4 kB28.359,0 kB [dosya listesi]
sparc64 (resmi olmayan port) 0.14.1.11-1+b1 2.692,6 kB48.657,0 kB [dosya listesi]
x32 (resmi olmayan port) 0.14.1.8-1+b2 5.109,3 kB20.947,0 kB [dosya listesi]