Skip to content
Commit 098ca889 authored by Stefan's avatar Stefan
Browse files

Pretend we use bigints for Sexp integers

* btl/builtins.typer: Slight reorganisation.
(Float->string): Rename from Float_to_string.
(Int->Integer): Give it a type.
(Sexp_integer): Change its type to be `Integer`.
(Sexp_dispatch): Make matching change.

* src/eval.ml: Add new "Int->Integer" primitive.
(make_integer): Make it take a bigint.
(sexp_dispatch): Make it use a bigint for the integer case.
parent befa5609
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment