package orsetto
Install
dune-project
Dependency
Authors
Maintainers
Sources
sha256=bb2af4d8b376b2d60fa996bd4d3b90d9f3559455672540f6d7c3598af81d483b
md5=f7bfa83013801b42fcdba607af2f012b
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.