AllExamples.icl 1.02 KB
Newer Older
1 2 3 4
module AllExamples

import iTasks

5 6
//Business examples
import Vote
Bas Lijnse's avatar
Bas Lijnse committed
7 8
import Purchase
import TravelBooking
9
import OrderProcessing
Bas Lijnse's avatar
Bas Lijnse committed
10
import ScheduleMeeting
11

12 13 14
//Higher order examples
import MovingTask
import DeadlineTask
15
import DelegateTask
Bas Lijnse's avatar
Bas Lijnse committed
16
import ReviewTask
Bas Lijnse's avatar
Bas Lijnse committed
17
import ExceptionHandling
18

19
//Miscellaneous examples
20
import SmallExamples
Bas Lijnse's avatar
Bas Lijnse committed
21
import GUIDemo
22
import BugReport
23 24
import Coffeemachine
import Newsgroups
25
import ChangeHandling
Bas Lijnse's avatar
Bas Lijnse committed
26
import WebShop
27

28 29 30
//Administrative tasks
import ProcessAdmin

31 32 33
Start :: *World -> *World
Start world = startEngine workflows world
where
34
	workflows = flatten [ voteExample
Bas Lijnse's avatar
Bas Lijnse committed
35 36
						, purchaseExample
						, travelBookingExample
37
						, orderProcessingExample
Bas Lijnse's avatar
Bas Lijnse committed
38
						, scheduleMeetingExample
39 40
						, movingTaskExample
						, deadlineTaskExample
41
						, delegateTaskExample
Bas Lijnse's avatar
Bas Lijnse committed
42
						, reviewTaskExample
43
						, smallExamples
Bas Lijnse's avatar
Bas Lijnse committed
44
						, guiDemoExample
45
						, bugReportExample
46
						, coffeemachineExample
47 48
						, newsgroupsExample
						, exceptionHandlingExample
49
						, changeHandlingExample
Bas Lijnse's avatar
Bas Lijnse committed
50
						, webShopExample
51
						, processAdmin
52
						]