试图创建cabal包:在`exposed-modules`上解析错误

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部分时,它很好

Tho*_*son 7

省略"分析"使其工作,因为"分析"不是有效的模块名称.模块名称以大写字母开头.