MathGroup Archive 2001

[Date Index] [Thread Index] [Author Index]

Search the Archive

Re: Head wanted

  • To: mathgroup at
  • Subject: [mg29827] Re: Head wanted
  • From: Jens-Peer Kuska <kuska at>
  • Date: Fri, 13 Jul 2001 04:19:11 -0400 (EDT)
  • Organization: Universitaet Leipzig
  • References: <9ijhmt$rhn$>
  • Sender: owner-wri-mathgroup at


have you understand what you ask ?

"all the symbols ...  having a prescribed Head"

what else should come out than Symbol ?

If you mean that the *value* of the symbols should have
a certain head than

  Select[ToExpression /@ Names[context], Head[#] === hh &]

will work.


Antoine Zahnd wrote:
> Hi,
> How is it possible to return all the symbols ( belonging to the current
> context ),  having a prescribed Head ?
> Thank you very much for your help.
> antoine.zahnd at

  • Prev by Date: Printing Large Base-n Numbers
  • Next by Date: Re: Logic and Truth Tables with Mathematica?
  • Previous by thread: Re: Head wanted
  • Next by thread: kernel problem for trigonometry