package linksem
Install
Dune Dependency
Authors
Maintainers
Sources
md5=2075c56715539b3b8f54ae65cc808b8c
sha512=f7c16e4036a1440a6a8d13707a43f0f9f9db0c68489215f948cc300b6a164dba5bf852e58f89503e9d9f38180ee658d9478156ca1a1ef64d6861eec5f9cf43d2
doc/linksem_zarith/Show/index.html
Module Show
Source
show.lem
exports the typeclass Show
and associated functions for pretty * printing arbitrary values.
string_of_unit u
produces a string representation of unit u
.
string_of_bool b
produces a string representation of boolean b
.
To give control over extraction as instances cannot be target specific, but * the functions they are bound to can be...
string_of_pair p
produces a string representation of pair p
.
val string_of_triple :
'a show_class ->
'b show_class ->
'c show_class ->
('a * 'b * 'c) ->
string
string_of_triple p
produces a string representation of triple p
.
val instance_Show_Show_tup3_dict :
'a show_class ->
'b show_class ->
'c show_class ->
('a * 'b * 'c) show_class
val string_of_quad :
'a show_class ->
'b show_class ->
'c show_class ->
'd show_class ->
('a * 'b * 'c * 'd) ->
string
string_of_quad p
produces a string representation of quad p
.
val instance_Show_Show_tup4_dict :
'a show_class ->
'b show_class ->
'c show_class ->
'd show_class ->
('a * 'b * 'c * 'd) show_class
string_of_maybe m
produces a string representation of maybe value m
.
show_else s m
produces a string representation of maybe m
, using s
* in the case m
= Nothing.
string_of_nat m
produces a string representation of nat value m
.