name: haskelisp version: 0.1.0.2 cabal-version: >=1.10 build-type: Simple license: GPL-3 license-file: LICENSE copyright: 2016 Takenari Shinohara maintainer: takenari.shinohara@gmail.com homepage: http://github.com/githubuser/haskelisp#readme 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) category: Editor, Emacs author: Takenari Shinohara source-repository head type: git location: https://github.com/githubuser/haskelisp library exposed-modules: Emacs Emacs.Type Emacs.Internal Emacs.Symbol Emacs.Core Emacs.Function Emacs.Command build-depends: base >=4.7 && <5, protolude <0.2, containers <0.6, mtl <2.3, text <1.3 c-sources: cbits/stab.c default-language: Haskell2010 include-dirs: cbits hs-source-dirs: src