aboutsummaryrefslogtreecommitdiffstats
path: root/lib/concepts/Value.ml
diff options
context:
space:
mode:
authorMarcos Magueta <maguetamarcos@gmail.com>2026-07-11 00:51:11 -0300
committerGitHub <noreply@github.com>2026-07-11 00:51:11 -0300
commitbb3156b8ab78b035ce886bbe3021ec7cbe269d03 (patch)
tree82dd52655d25e49519a035f1245c703e910a2152 /lib/concepts/Value.ml
parent85bff2fc22a131cce5ec2b4eb4b3dd8269c247cd (diff)
downloadRNT-bb3156b8ab78b035ce886bbe3021ec7cbe269d03.tar.gz
RNT-bb3156b8ab78b035ce886bbe3021ec7cbe269d03.zip
FOL: First Order Logic Execution Engine
Co-authored-by: Estevan Castilho <tevo@riajuu.net>
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