-
Notifications
You must be signed in to change notification settings - Fork 0
/
coq-switch.opam
35 lines (32 loc) · 1 KB
/
coq-switch.opam
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
opam-version: "2.0"
maintainer: "vzaliva@cmu.edu"
homepage: "https://github.com/vzaliva/coq-switch"
dev-repo: "git://git@github.com:vzaliva/coq-switch.git"
bug-reports: "https://github.com/vzaliva/coq-switch/issues"
authors: ["Vadim Zaliva <lord@crocodile.org>"]
license: "MIT"
build: [
[make "-j%{jobs}%"]
]
install: [
[make "install"]
]
depends: [
"coq" {>= "8.18.0"}
"coq-metacoq-template" {>= "1.2.1+8.18"}
]
tags: [
"category:Miscellaneous/Coq Extensions"
"date:2021-01-28"
"logpath:Switch"
]
synopsis: "A plugin to implement functionality similar to `switch` statement in C language"
description: """It allows easier dispatch on several constant values
of a type with decidable equality. Given a type, boolean equality
predicate, and list of choices, it will generate (using TemplateCoq)
an inductive type with constructors, one for each of the choices, and
a function mapping values to this type."""
url {
src: "https://github.com/vzaliva/coq-switch/archive/v1.0.6.tar.gz"
checksum: ""
}