Chi*_*nke 1 haskell package cabal
我正在尝试创建一个名为foo的cabal库包.我试图包含的源文件是:A2_5.hs,A7_1.hs,A8_1.hs,profiling.hs
我的foo.cabal文件中有以下内容:
Name: Foo
Version: 1.0
Cabal-Version: >= 1.2
Author: Chiel92
License: GPL
License-file: LICENSE
Category: Educational Assignment
Description: Description here
Build-Type: Simple
data-files: README.md
Library
Build-Depends: base, criterion
Exposed-modules: A2_5,
A7_1,
A8_1,
profiling
Run Code Online (Sandbox Code Playgroud)
但是,在运行时cabal configure
我收到一个错误:
cabal: foo.cabal:14: Parse of field 'exposed-modules' failed.
Run Code Online (Sandbox Code Playgroud)
出了什么问题?
编辑:奇怪的是:省略profiling
部分时,它很好
归档时间: |
|
查看次数: |
1505 次 |
最近记录: |