package forester
A tool for tending mathematical forests
Install
dune-project
Dependency
Authors
Maintainers
Sources
5.0.tar.gz
md5=24f4aed96a8b8af33aba13fba66f1b37
sha512=d36b896aca11858bb4a00fc704c16cc27a1f197bdb3e479d6132fd70f70d67d7158096285cb0b6fb00db14417f0f822cc27fe65d82f0971e42378fd8271ce573
doc/src/forester.core/Value.ml.html
Source file Value.ml
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 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50
(* * SPDX-FileCopyrightText: 2024 The Forester Project Contributors * * SPDX-License-Identifier: GPL-3.0-or-later *) open Forester_prelude open Base open struct module T = Types end module String_map = Map.Make(String) module Symbol_map = Map.Make(Symbol) type t = | Content of T.content | Clo of (t String_map.t [@opaque]) * string option binding list * Syn.t | Dx_prop of (string, T.content T.vertex) Datalog_expr.prop | Dx_sequent of (string, T.content T.vertex) Datalog_expr.sequent | Dx_query of (string, T.content T.vertex) Datalog_expr.query | Dx_var of string | Dx_const of Vertex.t | Sym of Symbol.t | Obj of Symbol.t [@@deriving show] type obj_method = { body: Syn.t; self: string option; super: string option; env: t String_map.t [@opaque] } [@@deriving show] module Method_table = struct include Map.Make(String) let pp (pp_el : Format.formatter -> 'a -> unit) (fmt : Format.formatter) (map : 'a t) = Format.fprintf fmt "@[<v1>{"; begin let@ k, v = Seq.iter @~ to_seq map in Format.fprintf fmt "@[%s ~> %a@]@;" k pp_el v end; Format.fprintf fmt "}@]" end type obj = { prototype: Symbol.t option; methods: obj_method Method_table.t } [@@deriving show]
sectionYPositions = computeSectionYPositions($el), 10)"
x-init="setTimeout(() => sectionYPositions = computeSectionYPositions($el), 10)"
>