MathGroup Archive 2011

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

Search the Archive

Re: DeveloperContextFreeForm and local symbols in packages (more)

  • To: mathgroup at smc.vnet.net
  • Subject: [mg116589] Re: DeveloperContextFreeForm and local symbols in packages (more)
  • From: "E. Martin-Serrano" <eMartinSerrano at telefonica.net>
  • Date: Mon, 21 Feb 2011 04:20:08 -0500 (EST)

Hi,

Just to add that it even sounds a bit rare that  the facility conversion to
V6 from previous versions included in that version 6 does not complain about
the occurrence of  Developer`ContextFreeForm nor  offers an  alternative
as it does for other compatibility issues.

E. Martin-Serrano

From: E. Martin-Serrano [mailto:eMartinSerrano at telefonica.net]
Sent: Saturday, February 19, 2011 9:51 PM
To: 'mathgroup at smc.vnet.net'
Subject: [mg116589] DeveloperContextFreeForm and local symbols in packages



Hi,



On 2003, I sent to MathGroup the question whose answer is in the link below.



http://forums.wolfram.com/mathgroup/archive/2003/Jun/msg00146.html



The idea was to remove the description of the context of local variables in
packages (the syntactical sugar, I said in that post), as to make clearer
the definitions inside the private context of packages, which really makes
obscure these definitions.



With the answer given in the link to me question, I wrote a trivial function
which made the trick as follows,



FullSymbolInfo[s_Symbol]:=Module[{d=FullDefinition[s]//Developer`ContextFree
Form},If[d==Null,Print["Symbol '"<>ToString[s]<>"' not defined"],d]]



The idea was *Developer`ContextFreeForm* applied to the (full) definition of
the symbols in the private context, but now without the
Developer`ContextFreeForm* facility available, the function does not work
any more (I think it worked up to the version 6).



I have unsuccessfully tried to find a substitution for it, (for the
*Developer`ContextFreeForm* command) might someone in the group come up with
an alternative? The function *FullSymbolInfo[s_Symbol]* used to be very
useful.



Cheers.



E. Martin-Serrano



___________________________________________________



This e-mail and the documents attached are confidential and intended solely
for the addressee; it may also be privileged. If you receive this e-mail in
error, please notify the sender immediately and destroy it. As its integrity
cannot be secured on the Internet, E. Mart=EDn-Serrano liability cannot be
triggered for the message content. Although the sender endeavors to maintain
a computer virus-free network,  the sender does not warrant that this
transmission is virus-free and  will not be liable for any damages resulting
from any virus transmitted.

Este mensaje y los ficheros adjuntos pueden contener informaci=F3n
confidencial  destinada solamente a la(s) persona(s) mencionadas
anteriormente  pueden estar protegidos por secreto profesional y en
cualquier caso el mensaje en su totalidad est=E1  amparado y protegido por la
legislaci=F3n vigente que preserva el secreto de las comunicaciones, y por la
legislaci=F3n de protecci=F3n de datos de car=E1cter personal. Si usted recibe
este correo electr=F3nico por error, gracias por informar  inmediatamente al
remitente y destruir el mensaje. Al no estar asegurada la integridad de este
mensaje sobre la red, E. Mart=EDn-Serrano no se hace responsable por su
contenido. Su contenido no constituye ning=FAn  compromiso para el remitente,
salvo ratificaci=F3n escrita por ambas partes.  Aunque se esfuerza al m=E1ximo
por mantener su red libre de virus, el emisor  no puede garantizar nada al
respecto y no ser=E1 responsable de cualesquiera da=F1os que puedan resultar de
una transmisi=F3n de virus.


  • Prev by Date: Re: Color grid with x and y args to visualize
  • Next by Date: Re: How to do quickest
  • Previous by thread: Re: Color grid with x and y args to visualize
  • Next by thread: how packages work