hiddencode
Oliver Braun
Oliver Braun <obraun@unsane.org>
Sun, 15 Jun 2003 14:32:03 +0200
--IJpNTDwzlM2Ie8A6
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable
* Steffen Mazanek <steffen.mazanek@UniBw-Muenchen.de> [2003-06-15 14:10 +02=
00]:
> 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 =3D putStrLn "I am not in the docs!"
\end{code}
} %ignore
Regards,
Olli
--=20
Oliver Braun :: obraun@unsane.org
:: Work =3D> obraun@informatik.unibw-muenchen.de
:: FreeBSD =3D> obraun@FreeBSD.org -> http://people.freebsd.org/~obraun/
:: Haskell =3D> obraun@haskell.org -> http://haskell.org/freebsd/
--IJpNTDwzlM2Ie8A6
Content-Type: application/pgp-signature
Content-Disposition: inline
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.2 (FreeBSD)
iD8DBQE+7GdDwLFrfe8lsboRAkSqAJ9tSTJuvmJ8qNMmjXXIiRae2lhDJACfRxrb
nMOIzLHcbl0ZqaeRWwAOBa8=
=YWqi
-----END PGP SIGNATURE-----
--IJpNTDwzlM2Ie8A6--