From f64444fb2a67ee84e973d894fbad7e2222a7767a Mon Sep 17 00:00:00 2001 From: Camil Staps Date: Sun, 23 Aug 2015 17:31:44 +0200 Subject: Tut 6.7 (mousespotting, keyspotting); tut 11.3.2 (stopwatch) --- tut11_3_2_stopwatch.dcl | 15 +++++++++++++++ 1 file changed, 15 insertions(+) create mode 100644 tut11_3_2_stopwatch.dcl (limited to 'tut11_3_2_stopwatch.dcl') diff --git a/tut11_3_2_stopwatch.dcl b/tut11_3_2_stopwatch.dcl new file mode 100644 index 0000000..89dbd45 --- /dev/null +++ b/tut11_3_2_stopwatch.dcl @@ -0,0 +1,15 @@ +definition module tut11_3_2_stopwatch + +// ******************************************************************************** +// Clean tutorial example program. +// +// This module exports the types and functions needed to incorporate a stopwatch +// component. +// ******************************************************************************** + +import StdIO + +:: StopwatchCommands = Reset | Pause | Continue | Close + +stopwatch :: (RId StopwatchCommands) -> Process + -- cgit v1.2.3