package orsetto
Install
Dune Dependency
Authors
Maintainers
Sources
sha256=585297372d7f6cfb830214e9ef22d6d072a39b2a1591ef90f1ee2bcfe144cad3
md5=6bb6a7ba88bf2c7595a0b332921e60b4
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.