https://github.com/EasyCrypt/easycrypt
Revision a549eb44e2b03ffed06fdc356fcad09a49c247bf authored by Pierre-Yves Strub on 19 November 2021, 06:23:34 UTC, committed by Pierre-Yves Strub on 19 November 2021, 06:27:09 UTC
This can be done by adding the "opaque" tag, e.g.: op [opaque] myop = ... solve #94
1 parent 10e1563
Tip revision: a549eb44e2b03ffed06fdc356fcad09a49c247bf authored by Pierre-Yves Strub on 19 November 2021, 06:23:34 UTC
Add an option to define opaque operators
Add an option to define opaque operators
Tip revision: a549eb4
default.nix
with import <nixpkgs> {};
if !lib.versionAtLeast why3.version "1.4" then
throw "please update your nixpkgs channel: nix-channel --update"
else
stdenv.mkDerivation {
name = "easycrypt-1.0";
src = ./.;
buildInputs = [ why3 ] ++ (with ocamlPackages; [
ocaml
findlib
batteries
dune_2
dune-build-info
dune-site
inifiles
menhir
menhirLib
merlin
yojson
zarith
]);
installFlags = [ "PREFIX=$(out)" ];
}
Computing file changes ...