Skip to content

Commit 8f1011d

Browse files
committed
Removed dependency on haskell-mode.
1 parent 832fff1 commit 8f1011d

File tree

2 files changed

+6
-6
lines changed

2 files changed

+6
-6
lines changed

snippets/haskell-mode/lang-pragma

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,6 @@
44
# condition: (= (length "lang") (current-column))
55
# contributor: Luke Hoersten <luke@hoersten.org>
66
# --
7-
{-# LANGUAGE `(some #'(lambda (fn)
8-
(funcall fn "Extension: " haskell-ghc-supported-extensions))
9-
yas-prompt-functions)` #-}
7+
{-# LANGUAGE `(when (boundp 'haskell-ghc-supported-extensions)
8+
(some #'(lambda (fn) (funcall fn "Extension: " haskell-ghc-supported-extensions))
9+
yas-prompt-functions))` #-}

snippets/haskell-mode/opt-pragma

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,6 @@
44
# condition: (= (length "opt") (current-column))
55
# contributor: Luke Hoersten <luke@hoersten.org>
66
# --
7-
{-# OPTIONS_GHC `(some #'(lambda (fn)
8-
(funcall fn "GHC Option: " haskell-ghc-supported-options))
9-
yas-prompt-functions)` #-}
7+
{-# OPTIONS_GHC `(when (boundp 'haskell-ghc-supported-options)
8+
(some #'(lambda (fn) (funcall fn "GHC Option: " haskell-ghc-supported-options))
9+
yas-prompt-functions))` #-}

0 commit comments

Comments
 (0)