Re: [Haskell-cafe] Literal programming in Haskell with rst-literals

2008-06-23 Thread Abhay Parvate
Hello, You might already know this, but in case you don't: there is another literate style: ... non-code ... \begin{code} ... code ... \end{code} ... non-code ... in which you do not put prefixes to each line. (In fact the standard says somewhere it is not recommended to mix the two styles if I

Re: [Haskell-cafe] Literal programming in Haskell with rst-literals

2008-06-23 Thread Darrin Thompson
2008/6/23 Abhay Parvate [EMAIL PROTECTED]: Hello, You might already know this, but in case you don't: there is another literate style: I had trouble finding the docs on this, as I expected them to be in the ghc user guide. For the record, the relevant docs are in the h98 report:

[Haskell-cafe] Literal programming in Haskell with rst-literals

2008-06-21 Thread Martin Blais
Hello Haskell community! I just did a marginally cool thing and I wanted to share it with you. rst-literals is a small program I wrote a while ago in order to write documents in reStructuredText format that would embed SQL code for data models in them, a form of literal programming for SQL if