package electrod
Formal analysis for the Electrod formal pivot language
Install
Dune Dependency
Authors
Maintainers
Sources
electrod-0.7.1.tbz
sha256=e5d2278c99128621110cd015dafcbcae9792bbf2c8bb09d7b02c57d50fa28075
sha512=e08ecf720d35b6ee72f37d780cc3da22f61e22314ffd093ff3314fb89684b863b5c96c97375d48bcb4ba2838ec8f61a495105c989f292c5dbcd095e14f52bdba
doc/src/electrod.libelectrod/Atom.ml.html
Source file Atom.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
(******************************************************************************* * electrod - a model finder for relational first-order linear temporal logic * * Copyright (C) 2016-2020 ONERA * Authors: Julien Brunel (ONERA), David Chemouil (ONERA) * * This Source Code Form is subject to the terms of the Mozilla Public * License, v. 2.0. If a copy of the MPL was not distributed with this * file, You can obtain one at http://mozilla.org/MPL/2.0/. * * SPDX-License-Identifier: MPL-2.0 * License-Filename: LICENSE.md ******************************************************************************) type t = { sym : Symbol.t ; loc : Location.t option } let compare a1 a2 = Symbol.compare a1.sym a2.sym let equal a1 a2 = Symbol.equal a1.sym a2.sym (* |> Fun.tap *) (* (fun res -> *) (* (Fmt.epr "Atom.equal %a %a = %B" *) (* Symbol.pp a1.sym *) (* Symbol.pp a2.sym *) (* res)) *) let atom ?loc s = { sym = Symbol.make s; loc } let of_raw_ident id = atom ~loc:(Raw_ident.location id) (Raw_ident.basename id) let hash atom = Symbol.hash atom.sym (** Generic interface implementations *) let pp out { sym; _ } = Symbol.pp out sym module P = Intf.Print.Mixin (struct type nonrec t = t let pp = pp end) include P let pp_list atoms = Fmtc.(braces_ @@ list ~sep:sp pp) atoms
sectionYPositions = computeSectionYPositions($el), 10)"
x-init="setTimeout(() => sectionYPositions = computeSectionYPositions($el), 10)"
>