Adding to Chris' enquiry: newtype Inftype b = A (b,Inftype) newtype Alist a = B (Either () (a,Alist a)) ...and we can (?) create values for them: infy = A (1,infy) onetwothree = B (Right(1,B(Right(2,B(Right(3,Left ())))))) Stefan Kahrs
- newtypes Chris Okasaki
- Re: newtypes Neil Leslie
- The return of the Void [Was: newtypes] Patrik Jansson
- Re: The return of the Void [Was: newtyp... Fergus Henderson
- Re: newtypes S.M.Kahrs
- Re: newtypes Sengan
- Re: newtypes Marcin 'Qrczak' Kowalczyk
- Re: newtypes Tom Pledger
- Re: newtypes Fergus Henderson