summaryrefslogtreecommitdiff
path: root/00_blog/00040_Haskell/00015_Code-Snippets
diff options
context:
space:
mode:
Diffstat (limited to '00_blog/00040_Haskell/00015_Code-Snippets')
-rw-r--r--00_blog/00040_Haskell/00015_Code-Snippets/index.md14
1 files changed, 14 insertions, 0 deletions
diff --git a/00_blog/00040_Haskell/00015_Code-Snippets/index.md b/00_blog/00040_Haskell/00015_Code-Snippets/index.md
index 73c13e4..12356fc 100644
--- a/00_blog/00040_Haskell/00015_Code-Snippets/index.md
+++ b/00_blog/00040_Haskell/00015_Code-Snippets/index.md
@@ -8,3 +8,17 @@ The source code below was auto-fetched from:
https://gitweb.softwarefools.com/?p=miguel/haskell.git;a=blob_plain;f=snip/snip.hs
{END:EMBED}
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
+
+## Shebang
+
+You can also use haskell in conjunction with a shebang line as illustrated
+below:
+
+The source code below was auto-fetched from:
+<https://gitweb.softwarefools.com/?p=miguel/haskell.git;a=blob;f=snip/shebang.hs>
+
+~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ {.haskell .numberLines}
+{BEGIN:EMBED}
+https://gitweb.softwarefools.com/?p=miguel/haskell.git;a=blob_plain;f=snip/shebang.hs
+{END:EMBED}
+~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~