package orsetto
Install
dune-project
Dependency
Authors
Maintainers
Sources
sha256=6e6f59fc6a2c590b1b377e40f2120a548e6f09e61e7eb12ffa45cf2d517316b8
md5=533153cd4a9fe8093d3b98afc1073bc8
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.