Lhs 2 Tex
Stc
ComputingScienceColloquium
Date: October 30
Time: 11am
Room: BBL-505
Speaker: Andres Loeh
Title: Typesetting Haskell and more with lhs2TeX
Abstract
The syntax of Haskell contains lambdas, universal quantifiers, arrows
in several directions, next to a wide range of infix operators, which
can even be extended by user-defined operators. More than code in most
other languages, Haskell code can therefore benefit from being typeset
as formatted text rather than unstructured verbatim blocks.
This talk will introduce lhs2TeX, a tool that has been specifically
designed for this purpose, being able to translate literate Haskell
source files to (La)TeX. It is the ideal tool not only to produce
documented Haskell source but also to write articles containing
Haskell code examples. Next to a comparison with other Haskell
formatting tools, there will be several examples of how lhs2TeX can be
used. One can learn about some of its less widely known features,
including some recently added functionality.