package lambdapi

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

Install

Dune Dependency

Authors

Maintainers

Sources

lambdapi-2.5.1.tbz
sha256=2c251021b6fac40c05282ca183902da5b1008e69d9179d7a9543905c2c21a28a
sha512=69535f92766e6fedc2675fc214f0fb699bde2a06aa91d338c93c99756235a293cf16776f6328973dda07cf2ad402e58fe3104a08f1a896990c1778b42f7f9fcf

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.