From 0075abf51db5d1b54117525d7a7f9b06e31c9484 Mon Sep 17 00:00:00 2001 From: Joris Guyonvarch Date: Tue, 17 Mar 2015 21:26:40 +0100 Subject: Adding an edition mode for a timer --- src/Model/TimerEdition.elm | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) create mode 100644 src/Model/TimerEdition.elm (limited to 'src/Model/TimerEdition.elm') diff --git a/src/Model/TimerEdition.elm b/src/Model/TimerEdition.elm new file mode 100644 index 0000000..c7b90c5 --- /dev/null +++ b/src/Model/TimerEdition.elm @@ -0,0 +1,16 @@ +module Model.TimerEdition + ( TimerEdition + , newTimerEdition + ) where + +import Model.Id (..) + +type alias TimerEdition = + { id : Id + , numbers : List Int + } + +newTimerEdition id = + { id = id + , numbers = [] + } -- cgit v1.2.3