diff .emacs.d/haskell-mode/snippets/haskell-mode/main @ 0:2764b4f45f9f

1st commit
author Shohei KOKUBO <e105744@ie.u-ryukyu.ac.jp>
date Mon, 21 Apr 2014 04:30:59 +0900
parents
children
line wrap: on
line diff
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/.emacs.d/haskell-mode/snippets/haskell-mode/main	Mon Apr 21 04:30:59 2014 +0900
@@ -0,0 +1,13 @@
+# -*- mode: snippet -*-
+# key: main
+# name: main module
+# condition: (= (length "main") (current-column))
+# expand-env: ((yas-indent-line 'fixed))
+# contributor: Luke Hoersten <luke@hoersten.org>
+# --
+module Main where
+
+main :: IO ()
+main = do
+  ${1:undefined}$0
+  return ()
\ No newline at end of file