Re: [Haskell-cafe] Re: Type Synonyms

2007-10-11 Thread Henning Thielemann
On Thu, 11 Oct 2007, Tom Davies wrote: Andrew Wagner wagner.andrew at gmail.com writes: If you change your type declarations to 'newtype' declarations, I believe you would get the effect that you want, depending on what you mean by 'equivalent'. In that case, Foo and Bar would essentially be

[Haskell-cafe] Re: Type Synonyms

2007-10-10 Thread Tom Davies
Andrew Wagner wagner.andrew at gmail.com writes: If you change your type declarations to 'newtype' declarations, I believe you would get the effect that you want, depending on what you mean by 'equivalent'. In that case, Foo and Bar would essentially be strings, but you could not use either