* Steffen Mazanek <[EMAIL PROTECTED]> [2003-06-15 14:10 +0200]:
> I am using literate programming with \begin{code}...\end{code}.
> But there is one problem. I want to hide some code of a module
> in my documentation.

What about:

\long\def\ignore#1{}

and then

\ignore{
\begin{code}
main = putStrLn "I am not in the docs!"
\end{code}
} %ignore

Regards,
         Olli
-- 
Oliver Braun :: [EMAIL PROTECTED]
  :: Work    => [EMAIL PROTECTED]
  :: FreeBSD => [EMAIL PROTECTED] -> http://people.freebsd.org/~obraun/
  :: Haskell => [EMAIL PROTECTED] -> http://haskell.org/freebsd/

Attachment: pgp00000.pgp
Description: PGP signature

Reply via email to