Bap_byteweight_signatures.DataInterface for declaring signature database data types.
val declare : load:(bytes -> 'a) -> save:('a -> bytes) -> string -> 'a datadeclare ~load ~save name declares a new mode.
The load and save functions are used to store the mode information in the signatures database.
Raises an exception if the mode name is not unique.