Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.haskell > #298

ghci list typeclasses that a type is in

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)

Show all headers | View raw


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 | NextNext in thread | Find similar | Unroll thread


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