summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/doc/latex/pygmentex/demo.hs
diff options
context:
space:
mode:
Diffstat (limited to 'Master/texmf-dist/doc/latex/pygmentex/demo.hs')
-rw-r--r--Master/texmf-dist/doc/latex/pygmentex/demo.hs7
1 files changed, 7 insertions, 0 deletions
diff --git a/Master/texmf-dist/doc/latex/pygmentex/demo.hs b/Master/texmf-dist/doc/latex/pygmentex/demo.hs
new file mode 100644
index 00000000000..b784c890a5c
--- /dev/null
+++ b/Master/texmf-dist/doc/latex/pygmentex/demo.hs
@@ -0,0 +1,7 @@
+module Main where
+
+-- the main IO action
+main = do { putStr "What is your name? "
+ , name''' <- read
+ , putStrLn ("Hello, " ++ name''')
+ }