[Haskell-cafe] Constructing a 'State Cover' for a FSM

2004-08-09 Thread Stu White
Hi all I'm trying to construct a cover for a finite state machine and needto devisea strategy beforehand. Thing is I'm having a little trouble. Could anyone suggest a generic strategy that can be used for constructing a cover (things like how I would identify the machines alphabet and so on).

[Haskell-cafe] Beginner problems with 'triple' code

2004-07-26 Thread Stu White
Hi I'm not especially experienced in using haskell, and I could use some help. As part of a project, I'm trying to construct a data typethat canrepresent three values as a 'triple' (as opposed to a 'tuple'), and then make a function so that I can sort these values into ascending order. I'm