Make pret-haskell work also for inline \types.
[matthijs/master-project/report.git] / Utils / Lambda.tex
index e4f2a1bfe36b19f3d861f4489908515e8b40e0c8..9486fe3075c397058c3565cba3d461308a5cb1e3 100644 (file)
 \installprettytype [TRANS] [TRANS]
 % Define \starttrans \stoptrans
 \definetyping[trans][option=TRANS,style=normal,before=,after=]
+
+% Install the haskell pretty-printer, as defined in pret-haskell.lua.
+\installprettytype [HASKELL] [HASKELL]
+% Define \starthaskell \stophaskell
+\definetyping[haskell][option=HASKELL,before=,after=]
+% Define \hs
+\definetype[hs][option=HASKELL,style=mono]