https://github.com/EasyCrypt/easycrypt
Revision 6199997740fd40d9ff53428d5098d76ff14252ea authored by Morten Solberg on 01 March 2022, 09:53:41 UTC, committed by Pierre-Yves Strub on 03 March 2022, 09:50:19 UTC
Generalize the `LorR` theory to make it possible to give some input to `L.main` and `R.main`. Using the theory for procedures without input is still possible by cloning the theory with type `input <- unit`.
1 parent b06e700
Tip revision: 6199997740fd40d9ff53428d5098d76ff14252ea authored by Morten Solberg on 01 March 2022, 09:53:41 UTC
Generalize `LorR` theory
Generalize `LorR` theory
Tip revision: 6199997
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 ...