Type applications such as f @Int for some function f are a bit of a nuisance to work with; there's the obvious problem that @ needs to be escaped, but I am wondering if it would make sense for lhs2tex to work well with these automatically.
Unless I'm missing something, the current workaround is to make appropriate %format directives that elaborate to @ in Haskell, and print @ properly in tex.
Type applications such as
f @Intfor some functionfare a bit of a nuisance to work with; there's the obvious problem that@needs to be escaped, but I am wondering if it would make sense for lhs2tex to work well with these automatically.Unless I'm missing something, the current workaround is to make appropriate
%formatdirectives that elaborate to@in Haskell, and print@properly in tex.