[Haskell-cafe] Embed Haskell

Rustom Mody rustompmody at gmail.com
Sun Apr 29 08:40:44 CEST 2012


On Sun, Apr 22, 2012 at 9:29 PM, Rosario Borda
<rosario.borda at sinervis.com>wrote:

> Hi All,
>
> Is there a simple method for embed haskell in other languages, like latex?
>
> An example in quasiquotation notation:
>
> \documentclass{article}
> \title{Hello World}
> \begin{document}
>   \maketitle
>   Hello world! and reversed: [haskell: putStrLn reverse "Hello, World!"]
> \end{document}
>
> Many thanks, :)
> Rosario
>

You may want to look at babel: http://orgmode.org/worg/org-contrib/babel/
Haskell is one of the babel languages
http://orgmode.org/worg/org-contrib/babel/languages.html
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.haskell.org/pipermail/haskell-cafe/attachments/20120429/af475ab4/attachment.htm>


More information about the Haskell-Cafe mailing list