package electrod

  1. Overview
  2. Docs
Formal analysis for the Electrod formal pivot language

Install

Dune Dependency

Authors

Maintainers

Sources

electrod-1.0.0.tbz
sha256=4da251e58d97c797d6e940e586d225a09715777fbb1b25c5527a6a2e1e3c2d58
sha512=89c45ebd0d3401b17eac4217289ed21ec87135ab5fa62bf63b2bed1ad1435a381e3434582c2ec99c2e6d8d87ce23cecfa7ba14d76234493992ae06879b808dd2

doc/electrod.libelectrod/Libelectrod/Msg/index.html

Module Libelectrod.MsgSource

Contains all error messages and error handling stuff.

Sourcemodule Location = Location

An abbreviation.

Setting up the logging machinery

Sourcemodule LoggingSetup : sig ... end
Sourceval debug : 'a Logs.log
Sourceval info : 'a Logs.log
Sourceval warn : 'a Logs.log
Sourceval err : ('a, 'b) Logs.msgf -> 'b
Sourceval style : Logs.level -> Fmt.style
Sourcemodule Extract : sig ... end

Messages (errors, warnings...)

Sourceval code : int -> string

code num takes a message number and prints is as an error code (4 (zero-padded) digits). DO NOT EVER --EVER!-- CHANGE THE NUMBER OF A MESSAGE (AT WORST, DELETE THE MESSAGE AND LET THE NUMBER BE LOST). ONLY ADD MESSAGES AT THE END OF THE FOLLOWING MESSAGING MODULES.

Errors that stop the program

Sourcemodule Fatal : sig ... end

Warnings (the program does not fail)

Sourcemodule Warn : sig ... end
OCaml

Innovation. Community. Security.