From 8c029cd0d8b3c4e077ee1dd3305ab4dc0e3fd8f3 Mon Sep 17 00:00:00 2001 From: Hyeonung Baek Date: Mon, 21 Feb 2022 02:18:42 +0900 Subject: [PATCH] Value.to_string: "symbol" -> "#" --- eval.ml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/eval.ml b/eval.ml index 7e82ca8..3984692 100644 --- a/eval.ml +++ b/eval.ml @@ -56,7 +56,7 @@ module Value = struct | Float n -> string_of_float n | Bool b -> string_of_bool b | String s -> "\"" ^ s ^ "\"" - | Symbol s -> "symbol " ^ s + | Symbol s -> "#" ^ s | Function _ -> "" | External f -> "external " ^ f | Nop -> "nop"