【文件属性】:
文件名称:haskell-coffee:提供使用 coffeescript 编译器的函数的 Haskell 库
文件大小:15KB
文件格式:ZIP
更新时间:2021-07-18 00:59:29
Haskell
哈斯克尔咖啡
一个简单的库,用于将 CoffeeScript 编译器与 Haskell 绑定一起使用
安装
cabal install haskell-coffee
用法
data Coffee = Coffee
{ customCompiler :: Maybe FilePath -- ^ Custom compiler path, set to Nothing for default
, bare :: Bool -- ^ set True to use '-b' option.
}
-- | Compile .coffee file(s)
coffeeCompile :: [FilePath] -- ^ List of .coffee files to compile
-> Ma
【文件预览】:
haskell-coffee-master
----.gitignore(22B)
----README.md(1KB)
----Setup.hs(46B)
----haskell-coffee.cabal(714B)
----LICENSE(34KB)
----src()
--------Coffee()