aboutsummaryrefslogtreecommitdiffstats
path: root/lib/concepts/Value.ml
diff options
context:
space:
mode:
Diffstat (limited to 'lib/concepts/Value.ml')
-rw-r--r--lib/concepts/Value.ml6
1 files changed, 3 insertions, 3 deletions
diff --git a/lib/concepts/Value.ml b/lib/concepts/Value.ml
index 3e57717..65a0439 100644
--- a/lib/concepts/Value.ml
+++ b/lib/concepts/Value.ml
@@ -1,3 +1,3 @@
-type value
- = String of string
- | Integer of int
+type value = String of string | Integer of int
+
+let to_string = function String s -> s | Integer n -> Int.to_string n