aboutsummaryrefslogtreecommitdiff
path: root/tut11_3_2_stopwatch.dcl
blob: 89dbd457d0ab667fafb32eaa4acebedb454c83b6 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
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