haskelisp: Write Emacs module in Haskell, using Emacs 25's Dynamic Module feature
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)
Modules
- Emacs
- Emacs.Command
- Emacs.Core
- Emacs.Function
- Emacs.Internal
- Emacs.Symbol
- Emacs.Type
Downloads
- haskelisp-0.1.0.2.tar.gz [browse] (Cabal source package)
- Package description (as included in the package)
Maintainer's Corner
For package maintainers and hackage trustees
Candidates
- No Candidates
Versions [RSS] | 0.1.0.0, 0.1.0.1, 0.1.0.2, 0.1.0.3, 0.1.0.4, 0.1.0.5, 0.1.1.0 |
---|---|
Dependencies | base (>=4.7 && <5), containers (<0.6), mtl (<2.3), protolude (<0.2), text (<1.3) [details] |
License | GPL-3.0-only |
Copyright | 2016 Takenari Shinohara |
Author | Takenari Shinohara |
Maintainer | takenari.shinohara@gmail.com |
Category | Editor, Emacs |
Home page | http://github.com/githubuser/haskelisp#readme |
Source repo | head: git clone https://github.com/githubuser/haskelisp |
Uploaded | by shintak at 2016-11-20T06:22:52Z |
Distributions | |
Reverse Dependencies | 1 direct, 0 indirect [details] |
Downloads | 4804 total (0 in the last 30 days) |
Rating | (no votes yet) [estimated by Bayesian average] |
Your Rating | |
Status | Docs not available [build log] All reported builds failed as of 2016-11-20 [all 3 reports] |