AllExamples.icl 966 Bytes
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
17

18
//Miscellaneous examples
19
import BugReport
20 21 22
import Coffeemachine
import Newsgroups
import ExceptionHandling
23
import ChangeHandling
Bas Lijnse's avatar
Bas Lijnse committed
24
import WebShop
25

26 27 28
//Administrative tasks
import ProcessAdmin

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