home

My NixOS systems configurations.
Log | Files | Refs | LICENSE

hdr.yasnippet (488B)


      1 # -*- mode: snippet -*-
      2 # key: hdr
      3 # name: haskell header
      4 # expand-env: ((yas-indent-line 'fixed))
      5 # contributor: John Wiegley <johnw@newartisans.com>
      6 # --
      7 {-# LANGUAGE OverloadedStrings #-}
      8 
      9 module `(file-name-sans-extension (buffer-name))` where
     10 
     11 import Control.Applicative
     12 import Control.Monad
     13 import Control.Monad.IO.Class
     14 import Control.Monad.Trans.Class
     15 import Control.Monad.Trans.Control
     16 import Data.Maybe
     17 import Data.Monoid
     18 
     19 $1 :: $0
     20 $1 = undefined
     21 
     22 main :: IO ()
     23 main = undefined