Skip to content

vmchale/pointfree

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

15 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

pointfree

Installation

Using vim-plug:

Plug 'vmchale/pointfree'

Note that the pointfree binary must be on your path. You can install it with:

 $ cabal install pointfree

Usage

To use this plugin, either type :PointfreeLine to run on the current line, or :Pointfree along with an expression, e.g.

:Pointfree \x -> x * 2

Configuration

This plugin provides one keybinding, but you have to pick the keys yourself. This is what I use in my .vimrc:

au BufNewFile,BufRead *.hs nmap pf <Plug>Pointfree

If you get stuck at any time, you can view the documentation with:

:help pointfree

About

Wrapper of pointfree command-line tool for Haskell

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published