aboutsummaryrefslogtreecommitdiff
path: root/lib/models/snowflake.ml
diff options
context:
space:
mode:
authorAdelyn Breedlove <[email protected]>2018-12-13 16:44:32 -0700
committerAdelyn Breedlove <[email protected]>2018-12-13 16:44:32 -0700
commitc6463e5ca9c557c7e8ecd05e71d37f237bc59da6 (patch)
treedf4b700a4c039e34bbee401250281a6c1814d4ca /lib/models/snowflake.ml
parentMerge branch 'dev' of https://gitlab.com/Mishio595/disml into dev (diff)
parentFix more dispatch issues (diff)
downloaddisml-c6463e5ca9c557c7e8ecd05e71d37f237bc59da6.tar.xz
disml-c6463e5ca9c557c7e8ecd05e71d37f237bc59da6.zip
Merge branch 'dev' of https://gitlab.com/Mishio595/disml into dev
Diffstat (limited to 'lib/models/snowflake.ml')
-rw-r--r--lib/models/snowflake.ml16
1 files changed, 0 insertions, 16 deletions
diff --git a/lib/models/snowflake.ml b/lib/models/snowflake.ml
deleted file mode 100644
index ab723a7..0000000
--- a/lib/models/snowflake.ml
+++ /dev/null
@@ -1,16 +0,0 @@
-type t = {
- id: int;
- as_string: string;
-} [@@deriving yojson]
-
-let to_int t = t.id
-let to_string t = t.as_string
-
-let from_int i = {
- id = i;
- as_string = string_of_int i;
-}
-let from_string s = {
- id = int_of_string s;
- as_string = s;
-} \ No newline at end of file