package lambdapi

  1. Overview
  2. Docs
Proof assistant for the λΠ-calculus modulo rewriting

Install

Dune Dependency

Authors

Maintainers

Sources

lambdapi-2.5.0.tbz
sha256=9bc8ae3694dd51bd5742e7aba760bd2878c4b0e5ef9b3d4a7b06f3cd303b611d
sha512=c812c3129b3d85b0c4d7e741d11137dbb4fe2a0aaba3a5968409080b742924ecb506280c19ad83ef6bc910346db96d87780313fa7683c29345edae16ae79c704

doc/src/lambdapi.parsing/dkBasic.ml.html

Source file dkBasic.ml

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
(** Part of the Dedukti source file kernel/basic.ml. *)

type ident = string

let ident_eq s1 s2 = s1 == s2 || s1 = s2

type mident = string

module WS = Weak.Make (struct
  type t = ident
  let equal = ident_eq
  let hash = Hashtbl.hash
end)

let hash_ident = WS.create 251

let mk_ident = WS.merge hash_ident

let underscore = mk_ident "_"

let hash_mident = WS.create 251

let mk_mident md = WS.merge hash_mident md
OCaml

Innovation. Community. Security.