Re: tuple selector could be useful + constructor class problems

1997-01-30 Thread Thomas Hallgren at home
--15FB7483794BDF32446B9B3D Content-Type: text/plain; charset="us-ascii" Christoph Herrmann wrote: > I always find it annoying to have a lot of > auxiliary functions for selecting elements of > tuples. It would be nice to have, e.g., > an infix operator, say "#", that takes a tuple > a

Re: Making argv a constant

1997-01-30 Thread Chris Dornan
How about integrating psuedoconstants along the lines of the existing `main' mechanism. Each `Main' module would come with a `main' and `setup' function, > main:: IO () > setup:: IO t where `t' represents an arbitrary monotype. These definitions would induce a binding: > environment:: t With