haskell - 什么是阴谋集团组件?
问题描述
cabal v2-repl cardano-node
cabal: Cannot open a repl for multiple components at once. The target
'cardano-node' refers to the package cardano-node-1.18.0 which includes the
libraries cardano-node-config and cardano-node.
The reason for this limitation is that current versions of ghci do not support
loading multiple components as source. Load just one component and when you
make changes to a dependent component then quit and reload.
我正在尝试输入 cabal repl,但不清楚 是什么意思component
,是可执行文件还是库?如果是这样,那么我如何明确引用/“目标”可执行文件?
解决方案
组件是具有自己的一组依赖项等的节后面的任何内容。因此它可以是多个子库、多个可执行文件、测试套件等。您可以在组件名称前加上lib:
或exe:
指定它是否为可执行组件(如测试套件)或库组件。
推荐阅读
- youtube-data-api - 为什么品牌帐户出现以下错误:经过身份验证的用户没有上传和设置自定义视频缩略图的权限
- r - 循环将代码应用于不同的数据并将图保存在 R 中
- javascript - Hot 用 html 和 css 动态创建列表
- r - 为什么summary_table函数在markdown中产生一个不同的表,当它被编织为HTML时
- rest - Azure 计费 REST API 参考
- javascript - 如何仅接受来自我自己的应用程序的请求?
- ios - View 中的手势识别器并使用 View Controller 作为目标,我的设计错了吗?
- docker - 如何从 dotnet core 2.2 和 powershell core 创建一个 docker 镜像?
- c# - 如何修复:NullReferenceException:不要创建自己的模块实例,从 ParticleSystem 实例中获取它们
- python - 尝试以块的形式读取文本并将其加载到列表中但出现错误