ocaml - coq 8.11.0 与 ocaml 4.10 不兼容?
问题描述
我正在按照这些说明使用 opam 安装 coq并收到错误消息
`No solution for coq: The following dependencies couldn't be met:
- coq → ocaml < 4.10
base of this switch (use '--unlock-base' to force)
我继续使用以下命令切换到 ocaml 4.05.0
opam switch create with-coq 4.05.0
并且可以成功安装 Coq,但我更愿意使用 ocaml 的更新版本。这是 Coq 和 oCaml 之间的实际不兼容,还是我做错了什么?
为了增加上下文,我现在使用 opam 2.0.6、ocaml 版本 4.05.0 和 Coq 版本 8.11.0。我的操作系统是 macOS。之前,唯一的区别是我尝试使用 ocaml 4.10.0。
谢谢!
解决方案
您需要 v8.11 分支的提示或等待应该很快发布的 8.11.1。
你不需要回到 4.05.0,4.09 可以正常工作,但 4.07.1+flambda 是我推荐的,请参阅https://coq.discourse.group/t/install-notes-on- coq-and-ocaml-versions-configuration/713
推荐阅读
- javascript - TypeScript 不知道组件从 HOC 获得所需的道具
- hibernate - IDE 没有显示任何错误,但是 Jasper Report 在通过浏览器中的 HTML 表单的过滤属性发送过滤数据时没有弹出
- java - 在java中的arraylist中搜索整数
- javascript - 使用 Python、sqlite3、HTML 和 JavaScript 编写代码动态下拉列表
- javascript - 转换数组对象及其重写的函数
- blueprism - 如何使用来自另一个 Web 应用程序对象的操作
- c# - 使用 HttpClient 将 Windows 身份验证传递给代理
- windows - 我可以删除用户输入的文件夹名称的最后一个 \ 吗?
- javascript - 如何在 JQuery 中制作通用切换功能?
- maven - 选定模块的声纳分析