package orsetto
Install
Dune Dependency
Authors
Maintainers
Sources
sha512=9b654edb663ae697563f150824047052f3b1bf760398f24bce6350553f031f73c46b6337239a1acd871e61238597ea92046809e3358290ff14d6ba671b449085
doc/orsetto.cf/Cf_number_scan/ASCII/index.html
Module Cf_number_scan.ASCII
A distinguished number scanner for simple ASCII character symbols.
val special : 'r ctrl -> 'r Cf_scan.ASCII.t
Use special ctrl
to make a scanner that recognizes input and returns a result according to ctrl
.
val signed_int : int Cf_scan.ASCII.t
The integer scanner. Recognizes an OCaml integer in decimal format without any leading zeros.
val signed_int32 : int32 Cf_scan.ASCII.t
The 32-bit integer scanner. Recognizes a 32-bit integer in decimal format without any leading zeros.
val signed_int64 : int64 Cf_scan.ASCII.t
The 64-bit integer scanner. Recognizes a 64-bit integer in decimal format without any leading zeros.
val signed_native : nativeint Cf_scan.ASCII.t
The native integer scanner. Recognizes a native system integer in decimal format without any leading zeros.
val simple_float : float Cf_scan.ASCII.t
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.
val scientific_float : float Cf_scan.ASCII.t
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.