AllExamples.icl 807 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
Bas Lijnse's avatar
Bas Lijnse committed
22
import WebShop
23 24 25 26

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