1 -- !! function types in deriving Eq things
2 -- From a bug report by Dave Harrison <D.A.Harrison@newcastle.ac.uk>
4 module ShouldFail where
6 type Process a = Pid -> Time -> Message a -> ( MessList a,
9 data Continuation a = Do (Process a) deriving Eq
12 type ProcList a = [ (Pid, Status, Process a) ]
13 data Status = Active | Passive | Busy Integer | Terminated
17 data Message a = Create (Process a) | Created Pid | Activate Pid |
18 Passivate Pid | Terminate Pid | Wait Pid Time |
19 Query Pid a | Data Pid a | Event |
23 type MessList a = [ Message a ]