Created
May 5, 2013 21:55
-
-
Save anonymous/5522343 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
" This uses djinn for automatically generating Haskell code from type | |
" signatures. Move your cursor over the type sig and type :Djinn. See also the | |
" <http://www.augustsson.net/Darcs/Djinn/examples> examples page for more info | |
" on using Djinn. | |
command! -range Djinn | |
\ <line1>,<line2>! | |
\ sed 's/::/?/g' | |
\ | djinn <(cat) | |
\ | grep -v -- "-- loading file /dev/fd" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment