|
[Date Index]
[Thread Index]
[Author Index]
Re: Use of Literal
- Subject: Re: Use of Literal
- From: uunet!yoda.ncsa.uiuc.edu!paul%wri (Paul Abbott)
- Date: Sat, 10 Mar 90 17:08:00 CST
- Apparently-to: mathgroup-send at yoda.ncsa.uiuc.edu
I would use HoldFirst (or HoldAll) instead:
Mathematica (sun3.68881) 1.2 (November 6, 1989) [With pre-loaded data]
by S. Wolfram, D. Grayson, R. Maeder, H. Cejtin,
S. Omohundro, D. Ballman and J. Keiper
with I. Rivin and D. Withoff
Copyright 1988,1989 Wolfram Research Inc.
-- Terminal graphics initialized --
In[1]:= SetAttributes[f,HoldFirst]
In[2]:= f[Integrate[g_,x_]] := Integrate[g,x] + Sin[x]
In[3]:= f[Integrate[x^2,x]]
3
x
Out[3]= -- + Sin[x]
3
In[4]:= ^D
Prev by Date:
Re: Literal
Next by Date:
Plotting two surfaces
Previous by thread:
Use of Literal
Next by thread:
Re: Literal
|