Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.lang.haskell > #298
| From | Jim Burton <j.burton@brighton.ac.uk> |
|---|---|
| Newsgroups | comp.lang.haskell |
| Subject | ghci list typeclasses that a type is in |
| Date | 2014-10-24 12:27 +0100 |
| Organization | A noiseless patient Spider |
| Message-ID | <87oat1oghi.fsf@brighton.ac.uk> (permalink) |
Hi, is it possible to use ghci to list all typeclasses that some type is an instance of? E.g. I can use :info Eq to see all instances of Eq, but I want to do it the other way round, e.g. :info String... TIA, Jim
Back to comp.lang.haskell | Previous | Next — Next in thread | Find similar | Unroll thread
ghci list typeclasses that a type is in Jim Burton <j.burton@brighton.ac.uk> - 2014-10-24 12:27 +0100 Re: ghci list typeclasses that a type is in Mark Carroll <mtbc@bcs.org> - 2014-10-24 12:53 +0100
csiph-web