Update to latest doom, agda stuff, misc
This commit is contained in:
parent
f95d025d1f
commit
8ba14144a3
9 changed files with 429 additions and 155 deletions
|
|
@ -2,5 +2,4 @@
|
|||
# name: header
|
||||
# expand-env: ((yas-indent-line 'fixed))
|
||||
# --
|
||||
----------------------------------------------------------------------
|
||||
$2
|
||||
--------------------------------------------------------------------------------$2
|
||||
|
|
@ -5,7 +5,7 @@
|
|||
# expand-env: ((yas-indent-line 'fixed))
|
||||
# contributor: Luke Hoersten <luke@hoersten.org>
|
||||
# --
|
||||
----------------------------------------------------------------------
|
||||
--------------------------------------------------------------------------------
|
||||
-- |
|
||||
-- Module : $1
|
||||
-- Description : $2
|
||||
|
|
@ -13,7 +13,7 @@
|
|||
-- Maturity : ${3:Draft, Usable, Maintained, OR MatureAF}
|
||||
--
|
||||
-- $4
|
||||
----------------------------------------------------------------------
|
||||
--------------------------------------------------------------------------------
|
||||
module ${1:`(if (not buffer-file-name) "Module"
|
||||
(let ((name (file-name-sans-extension (buffer-file-name)))
|
||||
(case-fold-search nil))
|
||||
|
|
@ -25,8 +25,8 @@ module ${1:`(if (not buffer-file-name) "Module"
|
|||
(file-name-nondirectory name))))`}
|
||||
(
|
||||
) where
|
||||
----------------------------------------------------------------------
|
||||
--------------------------------------------------------------------------------
|
||||
import Prelude
|
||||
----------------------------------------------------------------------
|
||||
--------------------------------------------------------------------------------
|
||||
|
||||
$0
|
||||
|
|
|
|||
|
|
@ -1,6 +1,7 @@
|
|||
# -*- mode: snippet -*-
|
||||
# name: test-module
|
||||
# key: test
|
||||
# expand-env: ((yas-indent-line 'fixed))
|
||||
# --
|
||||
{-# LANGUAGE ApplicativeDo #-}
|
||||
--------------------------------------------------------------------------------
|
||||
|
|
@ -13,9 +14,9 @@ module ${1:`(if (not buffer-file-name) "Module"
|
|||
(car (last (split-string name "src")))))
|
||||
(file-name-nondirectory name))))`} where
|
||||
--------------------------------------------------------------------------------
|
||||
import Test.Prelude
|
||||
import Test.Prelude
|
||||
import qualified Hedgehog.Gen as Gen
|
||||
import qualified Hedgehog.Range as Range
|
||||
--------------------------------------------------------------------------------
|
||||
import ${1:$(s-chop-suffix "Test" yas-text)}
|
||||
import ${1:$(s-chop-suffix "Test" yas-text)}
|
||||
--------------------------------------------------------------------------------
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue