AllExamples.icl 1.14 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
Rinus Plasmeijer's avatar
Rinus Plasmeijer committed
27
import ideExample
28

29 30 31
//Crisis response examples
import AmbulanceDispatch

32 33
//Change examples
import SimpleChanges
34

35 36 37
Start :: *World -> *World
Start world = startEngine workflows world
where
38
	workflows = flatten [ voteExample
Bas Lijnse's avatar
Bas Lijnse committed
39 40
						, purchaseExample
						, travelBookingExample
41
						, orderProcessingExample
Bas Lijnse's avatar
Bas Lijnse committed
42
						, scheduleMeetingExample
43 44
						, movingTaskExample
						, deadlineTaskExample
45
						, delegateTaskExample
Bas Lijnse's avatar
Bas Lijnse committed
46
						, reviewTaskExample
47
						, smallExamples
Bas Lijnse's avatar
Bas Lijnse committed
48
						, guiDemoExample
49
						, bugReportExample
50
						, coffeemachineExample
51 52
						, newsgroupsExample
						, exceptionHandlingExample
53
						, changeHandlingExample
Rinus Plasmeijer's avatar
Rinus Plasmeijer committed
54
						, ideExample
Bas Lijnse's avatar
Bas Lijnse committed
55
						, webShopExample
56
						, ambulanceDispatchExamples
57
						, changeExamples
58
						]