package orsetto
Install
Dune Dependency
Authors
Maintainers
Sources
sha256=151ca6df499bd3de7aa89a4e1627411fbee24c4dea6e0e71ce21f06f181ee654
md5=00393728b481c2bf15919a8202732335
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.