Skip to content

Latest commit

 

History

History
20 lines (14 loc) · 568 Bytes

convert.md

File metadata and controls

20 lines (14 loc) · 568 Bytes

Conversion library

Source: include/stdlib/convert.ml

Provides a ML frontend for converting between types found in stdlib.

Functions

Function Description
to_int64 Converts an argument to int64
to_bool Converts an argument to bool
to_int8(arg: int64) Converts an argument to int8
to_int16(arg: int64) Converts an argument to int16
to_int32(arg: int64) Converts an argument to int32

Warnings

Note

The to_str are part of the string library (stdlib/string).