aboutsummaryrefslogtreecommitdiff
path: root/src/client/elm/Reads.elm
diff options
context:
space:
mode:
Diffstat (limited to 'src/client/elm/Reads.elm')
-rw-r--r--src/client/elm/Reads.elm10
1 files changed, 10 insertions, 0 deletions
diff --git a/src/client/elm/Reads.elm b/src/client/elm/Reads.elm
new file mode 100644
index 0000000..f855802
--- /dev/null
+++ b/src/client/elm/Reads.elm
@@ -0,0 +1,10 @@
+module Reads
+ ( readInt
+ ) where
+
+
+import Native.Reads
+import Result exposing (Result)
+
+readInt : String -> Maybe Int
+readInt = Native.Reads.readInt