MathGroup Archive 2002

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

Search the Archive

Re: Manipulating Pattern Matching ?


Hi,

the attribute Listable may help you a bit, but
a pattern like foo[l_List] can't be changed
for build in functions.

Regards
  Jens

Gerhard Neumann wrote:
> 
> Hi,
> 
> I've quite a tricky problem. I want to convince Mathematica that a new
> "Datatyp", call it "MyList" is the same as  "List" , at least in pattern
> matching, i.e. all functions that take a "List" as parameter should take
> "MyList" too. So I have to manipulate Mathematicas pattern matching Rules.
> Is that possible (I fear not :-(( ??
> 
> Geri


  • Prev by Date: Re: irritating little problem
  • Next by Date: Re: irritating little problem
  • Previous by thread: Manipulating Pattern Matching ?
  • Next by thread: Problems using Plot function