The latest version of haskelisp is 0.1.1.0-1.
haskelisp
Version 0.1.0.2 revision 0 uploaded by shintak.
Package meta
- Synopsis
- Write Emacs module in Haskell, using Emacs 25's Dynamic Module feature
- Description
EXPERIMENTAL Write Emacs module in Haskell, using Emacs 25's Dynamic Module feature.
Only tested with linux.
You need to build emacs with --with-modules configuration options
You need to specify some ghc-options
# LANGUAGE ForeignFunctionInterface,OverloadedStrings #- > module Main where > > import Emacs > > foreign export ccall "emacs_module_init" emacsModuleInit :: EmacsModule > > emacsModuleInit :: EmacsModule > emacsModuleInit = defmodule "sample-module" $ do > > setVal "foo" (Symbol "bar") > > defun "square" $ i -> do > message "haskell squre function called" > return $ (i*i :: Int)
- Author
- Takenari Shinohara
- Bug reports
- n/a
- Category
- Editor, Emacs
- Copyright
- 2016 Takenari Shinohara
- Homepage
- http://github.com/githubuser/haskelisp#readme
- Maintainer
- takenari.shinohara@gmail.com
- Package URL
- n/a
- Stability
- n/a