package orsetto
Install
Dune Dependency
Authors
Maintainers
Sources
sha512=e260412b2dd0f98cfe3dc7ed5c31a694eb31c93cd207c51fa12675b790234ee0ad3bf07d9be17a4dc266fedfe55b14c967cad7bc0c9414063eef8afd59f3d0d1
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.