MathGroup Archive 2001

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

Search the Archive

Re: Head wanted


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