https://github.com/EasyCrypt/easycrypt
Revision e00264462a3e0744c7bb76e0d8beb1092a4498f2 authored by Alley Stoughton on 20 November 2020, 08:05:03 UTC, committed by GitHub on 20 November 2020, 08:05:03 UTC
branches as the number of constructors in the datatype being matched,
an exception was raised instead of the expected error message being
issued. Example:

type t = [A | B].
module M = {
  proc f(x : t) = {
    match x with
    | A => { }
    | A => { }
    end;
  }
}.
1 parent 6c677e1
Raw File
Tip revision: e00264462a3e0744c7bb76e0d8beb1092a4498f2 authored by Alley Stoughton on 20 November 2020, 08:05:03 UTC
When a match has duplicate constructors but the same number of (#47)
Tip revision: e002644
opam
opam-version: "2.0"
maintainer: "pierre-yves@strub.nu"
homepage: "https://www.easycrypt.info/"
bug-reports: "https://www.easycrypt.info/trac/newticket"
dev-repo: "git+https://github.com/EasyCrypt/easycrypt.git"
authors: "EasyCrypt Development Team <team@easycrypt.info>"
license: "CeCILL-C"
build: [
  [make "OCAMLBUILD_ECJOBS=%{jobs}%"]
]
install: [
  [make "PREFIX=%{prefix}%" "install"]
]
remove: [
  [make "PREFIX=%{prefix}%" "uninstall-purge"]
]
depends: [
  "ocaml"
  "batteries" {>= "2.3"}
  "camlzip"
  "menhir" {>= "20150921"}
  "pcre" {>= "7"}
  "why3" {>= "1.3.0" & < "1.4"}
  "ocaml-inifiles" {>= "1.2"}
  "zarith"
  "ocamlbuild"
  "ocamlfind"
  "yojson"
]
post-messages: [
"EasyCrypt needs external provers to be installed. From opam, you
can install AltErgo (package: alt-ergo).

The required steps for configuring the provers are listed on:
  https://github.com/EasyCrypt/easycrypt#configuring-why3"
]
synopsis: "EasyCrypt: Computer-Aided Cryptographic Proofs"
url {
  src: "git+https://github.com/EasyCrypt/easycrypt.git"
}
back to top