# Packages matching: installed
# Name # Installed # Synopsis
base-bigarray base
base-domains base
base-nnp base Naked pointers prohibited in the OCaml heap
base-threads base
base-unix base
conf-gmp 4 Virtual package relying on a GMP lib system installation
coq dev The Coq Proof Assistant
coq-core dev The Coq Proof Assistant -- Core Binaries and Tools
coq-stdlib dev The Coq Proof Assistant -- Standard Library
coqide-server dev The Coq Proof Assistant, XML protocol server
dune 3.12.2 Fast, portable, and opinionated build system
ocaml 5.0.0 The OCaml compiler (virtual package)
ocaml-base-compiler 5.0.0 Official release 5.0.0
ocaml-config 3 OCaml Switch Configuration
ocaml-options-vanilla 1 Ensure that OCaml is compiled with no special options enabled
ocamlfind 1.9.6 A library manager for OCaml
zarith 1.13 Implements arithmetic and logical operations over arbitrary-precision integers
# opam file:
opam-version: "2.0"
maintainer: "johnw@newartisans.com"
homepage: "https://github.com/jwiegley/coq-haskell"
dev-repo: "git+https://github.com/jwiegley/coq-haskell.git"
bug-reports: "https://github.com/jwiegley/coq-haskell/issues"
license: "BSD-3-Clause"
synopsis: "A library to provide Haskell-familiar constructions in Coq"
description: """
This library is designed for Haskell users who are either using Coq to build
code intended for extraction to Haskell, or who wish to prototype/prove their
algorithms in Coq. It provides a collection of definitions and notations to
make Gallina more familiar to Haskellers.
"""
build: [make]
install: [make "install"]
depends: [
"coq" {(>= "8.10" & < "8.16~") | (= "dev")}
]
url {
src: "https://github.com/jwiegley/coq-haskell/archive/refs/tags/1.0.tar.gz"
checksum: "sha256=64b6958f4eca641b933977a047272dea00ef5ceff33206da66f10fe792dbf3f2"
}
authors: [
"John Wiegley"
]
tags: [
"keyword:haskell"
"category:Computer Science/Data Types and Data Structures"
"date:2022-03-29"
"logpath:Hask"
]
trueDry install with the current Coq version:
opam install -y --show-action coq-haskell.1.0.0 coq.devDry install without Coq/switch base, to test if the problem was incompatibility with the current Coq/OCaml version:
trueopam list; echo; ulimit -Sv 4000000; timeout 4h opam install -y --deps-only coq-haskell.1.0.0 coq.devopam list; echo; timeout 4h opam install -y -v coq-haskell.1.0.0 coq.dev# Packages matching: installed
# Name # Installed # Synopsis
base-bigarray base
base-domains base
base-nnp base Naked pointers prohibited in the OCaml heap
base-threads base
base-unix base
conf-gmp 4 Virtual package relying on a GMP lib system installation
coq dev The Coq Proof Assistant
coq-core dev The Coq Proof Assistant -- Core Binaries and Tools
coq-stdlib dev The Coq Proof Assistant -- Standard Library
coqide-server dev The Coq Proof Assistant, XML protocol server
dune 3.12.2 Fast, portable, and opinionated build system
ocaml 5.0.0 The OCaml compiler (virtual package)
ocaml-base-compiler 5.0.0 Official release 5.0.0
ocaml-config 3 OCaml Switch Configuration
ocaml-options-vanilla 1 Ensure that OCaml is compiled with no special options enabled
ocamlfind 1.9.6 A library manager for OCaml
zarith 1.13 Implements arithmetic and logical operations over arbitrary-precision integers
[NOTE] Package coq is already installed (current version is dev).
The following actions will be performed:
- install coq-haskell 1.0.0
<><> Processing actions <><><><><><><><><><><><><><><><><><><><><><><><><><><><>
Processing 1/3: [coq-haskell.1.0.0: http]
Processing 1/3:
-> retrieved coq-haskell.1.0.0 (https://github.com/jwiegley/coq-haskell/archive/refs/tags/1.0.tar.gz)
Processing 2/3: [coq-haskell: make]
+ /home/bench/.opam/opam-init/hooks/sandbox.sh "build" "make" (CWD=/home/bench/.opam/ocaml-base-compiler.5.0.0/.opam-switch/build/coq-haskell.1.0.0)
- coq_makefile -f _CoqProject -o Makefile.coq
- make -f Makefile.coq -j10 -k OPT=""
- make[1]: Entering directory '/home/bench/.opam/ocaml-base-compiler.5.0.0/.opam-switch/build/coq-haskell.1.0.0'
- COQDEP VFILES
- COQC src/Ltac.v
- COQC src/Crush.v
- COQC src/Ssr.v
- File "./src/Crush.v", line 113, characters 13-20:
- Warning: Notation app_ass is deprecated since 8.18. Use app_assoc instead.
- [deprecated-syntactic-definition-since-8.18,deprecated-since-8.18,deprecated-syntactic-definition,deprecated,default]
- File "./src/Crush.v", line 202, characters 20-28:
- Error: The reference elimtype was not found in the current environment.
-
- File "./src/Ltac.v", line 26, characters 0-26:
- Warning: Adding and removing hints in the core database implicitly is
- deprecated. Please specify a hint database.
- [implicit-core-hint-db,deprecated-since-8.10,deprecated,default]
- File "./src/Ltac.v", line 31, characters 0-27:
- Warning: Adding and removing hints in the core database implicitly is
- deprecated. Please specify a hint database.
- [implicit-core-hint-db,deprecated-since-8.10,deprecated,default]
- File "./src/Ltac.v", line 37, characters 0-24:
- Warning: Adding and removing hints in the core database implicitly is
- deprecated. Please specify a hint database.
- [implicit-core-hint-db,deprecated-since-8.10,deprecated,default]
- make[2]: *** [Makefile.coq:847: src/Crush.vo] Error 1
- make[2]: *** [src/Crush.vo] Deleting file 'src/Crush.glob'
- COQC src/Data/Functor.v
- COQC src/Data/Tuple.v
- COQC src/Data/Eq.v
- File "./src/Data/Functor.v", line 29, characters 0-40:
- Warning: Use of “Require” inside a module is fragile. It is not recommended
- to use this functionality in finished proof scripts.
- [require-in-module,fragile,default]
- File "./src/Data/Functor.v", line 30, characters 0-37:
- Warning: Use of “Require” inside a module is fragile. It is not recommended
- to use this functionality in finished proof scripts.
- [require-in-module,fragile,default]
- File "./src/Data/Functor.v", line 31, characters 0-34:
- Warning: Use of “Require” inside a module is fragile. It is not recommended
- to use this functionality in finished proof scripts.
- [require-in-module,fragile,default]
- File "./src/Data/Tuple.v", line 108, characters 0-40:
- Warning: Use of “Require” inside a module is fragile. It is not recommended
- to use this functionality in finished proof scripts.
- [require-in-module,fragile,default]
- COQC src/Data/Functor/Contravariant.v
- File "./src/Data/Functor/Contravariant.v", line 37, characters 0-40:
- Warning: Use of “Require” inside a module is fragile. It is not recommended
- to use this functionality in finished proof scripts.
- [require-in-module,fragile,default]
- COQC src/Data/Functor/Const.v
- COQC src/Data/Functor/Kan.v
- COQC src/Control/Applicative.v
- File "./src/Control/Applicative.v", line 12, characters 0-193:
- Warning: A coercion will be introduced instead of an instance in future
- versions when using ':>' in 'Class' declarations. Replace ':>' with '::' (or
- use '#[global] Existing Instance field.' for compatibility with Coq < 8.18).
- Beware that the default locality for '::' is #[export], as opposed to
- #[global] for ':>' currently. Add an explicit #[global] attribute to the
- field if you need to keep the current behavior. For example: "Class foo := {
- #[global] field :: bar }."
- [future-coercion-class-field,deprecated-since-8.17,deprecated,default]
- File "./src/Control/Applicative.v", line 50, characters 0-40:
- Warning: Use of “Require” inside a module is fragile. It is not recommended
- to use this functionality in finished proof scripts.
- [require-in-module,fragile,default]
- File "./src/Control/Applicative.v", line 52, characters 0-593:
- Warning: A coercion will be introduced instead of an instance in future
- versions when using ':>' in 'Class' declarations. Replace ':>' with '::' (or
- use '#[global] Existing Instance field.' for compatibility with Coq < 8.18).
- Beware that the default locality for '::' is #[export], as opposed to
- #[global] for ':>' currently. Add an explicit #[global] attribute to the
- field if you need to keep the current behavior. For example: "Class foo := {
- #[global] field :: bar }."
- [future-coercion-class-field,deprecated-since-8.17,deprecated,default]
- File "./src/Control/Applicative.v", line 131, characters 0-274:
- Warning: A coercion will be introduced instead of an instance in future
- versions when using ':>' in 'Class' declarations. Replace ':>' with '::' (or
- use '#[global] Existing Instance field.' for compatibility with Coq < 8.18).
- Beware that the default locality for '::' is #[export], as opposed to
- #[global] for ':>' currently. Add an explicit #[global] attribute to the
- field if you need to keep the current behavior. For example: "Class foo := {
- #[global] field :: bar }."
- [future-coercion-class-field,deprecated-since-8.17,deprecated,default]
- COQC src/Control/Monad.v
- File "./src/Control/Monad.v", line 8, characters 0-117:
- Warning: A coercion will be introduced instead of an instance in future
- versions when using ':>' in 'Class' declarations. Replace ':>' with '::' (or
- use '#[global] Existing Instance field.' for compatibility with Coq < 8.18).
- Beware that the default locality for '::' is #[export], as opposed to
- #[global] for ':>' currently. Add an explicit #[global] attribute to the
- field if you need to keep the current behavior. For example: "Class foo := {
- #[global] field :: bar }."
- [future-coercion-class-field,deprecated-since-8.17,deprecated,default]
- File "./src/Control/Monad.v", line 21, characters 0-37:
- Warning: Declaring a scope implicitly is deprecated; use in advance an
- explicit "Declare Scope monad_scope.".
- [undeclared-scope,deprecated-since-8.10,deprecated,default]
- File "./src/Control/Monad.v", line 106, characters 0-124:
- Error:
- The following term contains unresolved implicit arguments:
- (fun (m : Type -> Type) (H : Applicative m) (A B : Type)
- (f : A -> m (list B)) (l : list A) => fmap[ _] flatten (mapM f l))
- More precisely:
- - ?Functor: Cannot infer the implicit parameter Functor of fmap whose type is
- "Functor ?f" (no type class instance found) in
- environment:
- m : Type -> Type
- H : Applicative m
- A : Type
- B : Type
- f : A -> m (list B)
- l : list A
- - ?A: Cannot infer the implicit parameter A of flatten whose type is
- "Set" in
- environment:
- m : Type -> Type
- H : Applicative m
- A : Type
- B : Type
- f : A -> m (list B)
- l : list A
- - ?m: Cannot infer the implicit parameter m of mapM whose type is
- "Set -> Type" in
- environment:
- m : Type -> Type
- H : Applicative m
- A : Type
- B : Type
- f : A -> m (list B)
- l : list A
- - ?H: Cannot infer the implicit parameter H of mapM whose type is
- "Applicative ?m" (no type class instance found) in
- environment:
- m : Type -> Type
- H : Applicative m
- A : Type
- B : Type
- f : A -> m (list B)
- l : list A
-
- make[2]: *** [Makefile.coq:847: src/Control/Monad.vo] Error 1
- make[2]: *** [src/Control/Monad.vo] Deleting file 'src/Control/Monad.glob'
- make[2]: Target 'real-all' not remade because of errors.
- make[1]: *** [Makefile.coq:417: all] Error 2
- make[1]: Leaving directory '/home/bench/.opam/ocaml-base-compiler.5.0.0/.opam-switch/build/coq-haskell.1.0.0'
- make: *** [Makefile:18: src/Crush.vo] Error 2
[ERROR] The compilation of coq-haskell.1.0.0 failed at "make".
#=== ERROR while compiling coq-haskell.1.0.0 ==================================#
# context 2.1.5 | linux/x86_64 | ocaml-base-compiler.5.0.0 | file:///home/bench/run/opam-coq-archive/released
# path ~/.opam/ocaml-base-compiler.5.0.0/.opam-switch/build/coq-haskell.1.0.0
# command ~/.opam/opam-init/hooks/sandbox.sh build make
# exit-code 2
# env-file ~/.opam/log/coq-haskell-25968-63daad.env
# output-file ~/.opam/log/coq-haskell-25968-63daad.out
### output ###
# - ?H: Cannot infer the implicit parameter H of mapM whose type is
# [...]
# A : Type
# B : Type
# f : A -> m (list B)
# l : list A
#
# make[2]: *** [Makefile.coq:847: src/Control/Monad.vo] Error 1
# make[2]: *** [src/Control/Monad.vo] Deleting file 'src/Control/Monad.glob'
# make[2]: Target 'real-all' not remade because of errors.
# make[1]: *** [Makefile.coq:417: all] Error 2
# make[1]: Leaving directory '/home/bench/.opam/ocaml-base-compiler.5.0.0/.opam-switch/build/coq-haskell.1.0.0'
# make: *** [Makefile:18: src/Crush.vo] Error 2
<><> Error report <><><><><><><><><><><><><><><><><><><><><><><><><><><><><><><>
+- The following actions failed
| - build coq-haskell 1.0.0
+-
- No changes have been performed
# Run eval $(opam env) to update the current shell environment
'opam install -y -v coq-haskell.1.0.0 coq.dev' failed.
No files were installed.
true