package orsetto
Install
Dune Dependency
Authors
Maintainers
Sources
sha256=81283687ce3204263bc955a332dd7b90bf5b648a990c01160f33aaa77d80962f
md5=7346293aa013c2a8974c6fb7c521166a
doc/orsetto.cf/Cf_number_scan/Create/index.html
Module Cf_number_scan.Create
Use Create(B)
to specialize the number scanner according to B
.
Parameters
Signature
Use special ctrl
to make a scanner that recognizes input and returns a result according to ctrl
.
The integer scanner. Recognizes an OCaml integer in decimal format without any leading zeros.
The 32-bit integer scanner. Recognizes a 32-bit integer in decimal format without any leading zeros.
The 64-bit integer scanner. Recognizes a 64-bit integer in decimal format without any leading zeros.
The native integer scanner. Recognizes a native system integer in decimal format without any leading zeros.
The simple floating point number scanner. Recognizes an OCaml floating point number without any exponent part, i.e. a simple integer part without leading zeros, optionally followed by a decimal point and a fraction part.
The scientific notation floating point number scanner. Recognizes an OCaml floating point number that may be in scientific notation, i.e. an integer part, optional followed by a decimal point and a fraction part, optionally followed again by an exponent part.