Skip to content

Commit b3edb6c

Browse files
authored
Merge pull request #1 from alexpantyukhin/patch-1
Update Builtins.fs
2 parents fbb1fd5 + b45060c commit b3edb6c

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

src/stdlib/Builtins.fs

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -107,6 +107,12 @@ type IExports =
107107
abstract map : ('T1 * 'T2 * 'T3 -> 'T4) * IEnumerable<'T1> * IEnumerable<'T2> * IEnumerable<'T3> -> IEnumerable<'T4>
108108
/// Return the Unicode code point for a one-character string.
109109
abstract ord : char -> int
110+
// Object to string
111+
abstract str : obj -> string
112+
// Object to int
113+
abstract int : obj -> int
114+
// Object to float
115+
abstract float : obj -> float
110116
abstract print : obj: obj -> unit
111117
abstract read : file: _OpenFile -> TextIOWrapper
112118
abstract read : file: _OpenFile * mode: OpenTextMode -> TextIOWrapper

0 commit comments

Comments
 (0)