diff options
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 + |