[Haskell-beginners] literate programming
Dennis Raddle
dennis.raddle at gmail.com
Sun Sep 2 00:46:55 CEST 2012
Does literate programming in haskell (.lhs) support the idea in Knuth's WEB
of using aliases for blocks of code? In other words doing something like
main = do
<part 1>
<part 2>
<part 1> === putStrLn "foo"
<part 2> === putStrLn "bar"
(except I don't know what the actual syntax is)
-Dennis
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.haskell.org/pipermail/beginners/attachments/20120901/a217bb5f/attachment.htm>
More information about the Beginners
mailing list