AllExamples.icl 1009 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 SmallExamples
20
import BugReport
21 22 23
import Coffeemachine
import Newsgroups
import ExceptionHandling
24
import ChangeHandling
Bas Lijnse's avatar
Bas Lijnse committed
25
import WebShop
26

27 28 29
//Administrative tasks
import ProcessAdmin

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