summaryrefslogtreecommitdiff
path: root/examples
diff options
context:
space:
mode:
authorSam T <pxqr.sta@gmail.com>2013-07-07 02:32:21 +0400
committerSam T <pxqr.sta@gmail.com>2013-07-07 02:32:21 +0400
commit35a6426fc2b317850670eb038800f0cd96e59aee (patch)
tree74dc420c615fe46e9ba1cb554da34d9a8724c2bd /examples
parentab9137ae8ac88a7dc0d15593a9754704e4058a52 (diff)
~ Literate Haskell test.
Diffstat (limited to 'examples')
-rw-r--r--examples/Main.lhs (renamed from examples/Main.hs)6
1 files changed, 5 insertions, 1 deletions
diff --git a/examples/Main.hs b/examples/Main.lhs
index edb37975..7d798bfc 100644
--- a/examples/Main.hs
+++ b/examples/Main.lhs
@@ -1,3 +1,6 @@
1A very helpful and literate comment.
2% A very helpful comment for very helpful and very literate comment.
3\begin{code}
1module Main (main) where 4module Main (main) where
2 5
3import Control.Monad 6import Control.Monad
@@ -25,4 +28,5 @@ main = do
25 forever $ do 28 forever $ do
26 liftIO (getCurrentProgress client >>= print) 29 liftIO (getCurrentProgress client >>= print)
27 exchange storage 30 exchange storage
28 liftIO $ print "disconnected" \ No newline at end of file 31 liftIO $ print "disconnected"
32\end{code} \ No newline at end of file