package orsetto

  1. Overview
  2. Docs
Legend:
Library
Module
Module type
Parameter
Class
Class type

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.

OCaml

Innovation. Community. Security.