Re: [Haskell-cafe] Ix, Random, and overlapping instances

2006-08-21 Thread Bulat Ziganshin
Hello Lambda, Monday, August 21, 2006, 1:20:26 AM, you wrote: Greetings Haskellers, I have recently found myself in a situation where I was needing to general tuples of randomized things; in my case, two coordinates and a custom data type, Direction. As it is always better to

[Haskell-cafe] Ix, Random, and overlapping instances

2006-08-20 Thread Lambda The Insignificant
Greetings Haskellers, I have recently found myself in a situation where I was needing to general tuples of randomized things; in my case, two coordinates and a custom data type, Direction. As it is always better to generalize, I decided to try to write some code which would generalize