[Nix-dev] Syntax highlighting

Michael Raskin 7c6f434c at mail.ru
Wed Jun 10 06:48:26 CEST 2009


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Tony White wrote:
> Or do the .nix files have a syntax of which is slightly different to haskell?
> If yes it's haskell syntax, I like syntax highlighting in editors. I
> use it a lot with css, php, javascript and xhtml, etc in kwrite.
> It makes spotting silly errors very easy.
> kwrite will automatically use the respective highlighting syntax with
> the appropriate file when opened, css for example.

Nix syntax is distinct from Haskell. To begin with, Haskell has (\ x ->
x) and Nix uses (x : x).
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.11 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iQEcBAEBAgAGBQJKLzsWAAoJEE6tnN0aWvw36AsH/j+Jp3vNkE3utzFLZ4uP99vf
v1UBxaBgCdPBcCrcBzfmUmMSbVmpmWldB1k+WY/FY71anKvHbZLBkdSWoBZjR39X
qb/S5WHuheY2Rm+DTRn1fBV3dw52vHH2itrS2dAoJ7dgSIL4CVMXmbjsNKWs42FZ
oAYqLCMoo2dslsJ0aQBdBHl9692FZ4i5rGcoCvQo822AIU0WhLjj+GdL9UiQKgor
LsEcpqi0ujmQ5T6JNPKOQB+USKBVR6KlbzxKgwUup6zo1qQHJi2pV7wA1Wih4Y6J
8aPMKo8Yxd6Gj3neAf76Sr7Wq0dXW/2ADKn2T/RGQGmN6LzsVv44n5ioMhCpHHU=
=nwJO
-----END PGP SIGNATURE-----



More information about the nix-dev mailing list