diff options
author | Camil Staps | 2015-08-23 17:31:44 +0200 |
---|---|---|
committer | Camil Staps | 2015-08-23 17:31:44 +0200 |
commit | f64444fb2a67ee84e973d894fbad7e2222a7767a (patch) | |
tree | bba2f2994a61830747e9619453e2c33fbbebd559 /tut11_3_2_stopwatch.dcl | |
parent | Tut 12.1 Simple clipboard editor (diff) |
Tut 6.7 (mousespotting, keyspotting); tut 11.3.2 (stopwatch)
Diffstat (limited to 'tut11_3_2_stopwatch.dcl')
-rw-r--r-- | tut11_3_2_stopwatch.dcl | 15 |
1 files changed, 15 insertions, 0 deletions
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 + |