aboutsummaryrefslogtreecommitdiff
path: root/ocaml/types.ml
diff options
context:
space:
mode:
authorChouser <chouser@n01se.net>2015-01-22 02:59:48 -0500
committerChouser <chouser@n01se.net>2015-01-30 12:54:42 -0500
commit59d10e1bd703f65e12fef85bceef4204f82685fb (patch)
treed603eb4b18dca19d4351b40164765363f9866d3c /ocaml/types.ml
parentca51c4f77235d8f9b8606ebc8c255778c83c9050 (diff)
downloadmal-59d10e1bd703f65e12fef85bceef4204f82685fb.tar.gz
mal-59d10e1bd703f65e12fef85bceef4204f82685fb.zip
Ocaml: Added step 1, missing some optional functionality
Diffstat (limited to 'ocaml/types.ml')
-rw-r--r--ocaml/types.ml8
1 files changed, 8 insertions, 0 deletions
diff --git a/ocaml/types.ml b/ocaml/types.ml
new file mode 100644
index 0000000..92f3030
--- /dev/null
+++ b/ocaml/types.ml
@@ -0,0 +1,8 @@
+type mal_type =
+ | MalList of mal_type list
+ | Int of int
+ | Symbol of string
+ | Keyword of string
+ | Nil
+ | Bool of bool
+ | String of string