package electrod

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

Install

Dune Dependency

Authors

Maintainers

Sources

electrod-0.9.0.tbz
sha256=b2263601350f2ffe3cb1671d8bdd256729986b248c1ec39e84ec76a2f2b8408c
sha512=f4c0e7a196c7a14fff51e7f0cc6f91ed8b3df965523d878ab507320f9771ec69efddb31252ff9763ed2f92bc8c369cea73ca20edebbc3c9ff327fe500f33bdf0

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.