ModuleExport PStringNotations.
Record string_wrapper := wrap_string {string_wrap : string}. Definition id_string (s : string) : string := s.
Register string as strings.pstring.type.
Register string_wrapper as strings.pstring.string_wrapper.
Register wrap_string as strings.pstring.wrap_string.
DeclareScope pstring_scope. DelimitScope pstring_scope with pstring.
Bind Scope pstring_scope with string.
String Notation string id_string id_string : pstring_scope. End PStringNotations.
Record char63_wrapper := wrap_char63 { char63_wrap : char63 }.
ModuleExport Char63Notations.
Coercion char63_wrap : char63_wrapper >-> char63. Definition parse (s : string) : option char63_wrapper := if PrimInt63.eqb (length s) 1%uint63 then Some (wrap_char63 (get s 0)) else None. Definitionprint (i : char63_wrapper) : option string := if PrimInt63.ltb i.(char63_wrap) 256%uint63 then Some (make 1 i.(char63_wrap)) else None.
DeclareScope char63_scope. DelimitScope char63_scope with char63.
Bind Scope char63_scope with char63.
String Notation char63_wrapper parse print : char63_scope. End Char63Notations.
Die Informationen auf dieser Webseite wurden
nach bestem Wissen sorgfältig zusammengestellt. Es wird jedoch weder Vollständigkeit, noch Richtigkeit,
noch Qualität der bereit gestellten Informationen zugesichert.
Bemerkung:
Die farbliche Syntaxdarstellung und die Messung sind noch experimentell.