AllExamples.icl 924 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 19 20 21
//Miscellaneous examples
import Coffeemachine
import Newsgroups
import ExceptionHandling
22
import ChangeHandling
Bas Lijnse's avatar
Bas Lijnse committed
23
import WebShop
24

25 26 27
//Administrative tasks
import ProcessAdmin

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