[Haskell] Re: [Haskell-cafe] Why functional programming matters

Johannes Waldmann waldmann at imn.htwk-leipzig.de
Fri Jan 25 08:58:52 EST 2008


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


> Actually, come to think of it, one great way to show off the language is
> to show off the power of some of the libraries that have been written.
> For example, show how easily a parser can  be created w/ Parsec; [...]

yes, Parsec is amazing. I use it in my e-Learning/testing system.
It uses Parsec to read (student) input from a text entry area in a CGI
application.
http://www.imn.htwk-leipzig.de/~waldmann/autotool/

Parsec shows the benefits of embedding a DSL into Haskell:
it gives you full combinatorial power:
in types (e.g. lists of parser) and functions (e.g. from parser to parser),
and all that with full safety.

best regards, Johannes
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.4-svn0 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQFHmesc3ZnXZuOVyMIRAl2vAJ0VViyJe4tcxFiVpMR0suO50Bez5wCeIwi+
BK4GC4cqv5K25lT2k7B80zY=
=jz0r
-----END PGP SIGNATURE-----


More information about the Haskell mailing list