Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP

Emacs yasnippet snippets for haskell-mode

branch: master

This branch is 0 commits ahead and 0 commits behind master

Fetching latest commit…

Cannot retrieve the latest commit at this time

README.md

A set of Haskell snippets to use with yasnippet.

Installation

  1. Clone the repo into e.g. ~/emacs.d/mysnippets/haskell-mode.

  2. Tell yasnippet about the snippets, by adding them to your init.el file.

    ;; Tell yasnippet where it can find the Haskell snippets
    (setq yas/root-directory "~/emacs.d/mysnippets/haskell-mode")
    
    ;; Load the snippets
    (yas/load-directory yas/root-directory)
    

Usage

In a Haskell source file, with haskell-mode loaded, type e.g. imp and press tab.

Something went wrong with that request. Please try again.