MathGroup Archive 2006

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

Search the Archive

Re: transforming a rule of lists to a list of rules


In[2]:=
fn[Rule[list1_List,list2_List]]:=Thread[Rule[list1,list2]];
In[4]:=
fn[{a,b,c}->{0,3,x}]//InputForm
Out[4]//InputForm=
{a -> 0, b -> 3, c -> x}


dkr


  • Prev by Date: Re: generalized foldlist problem
  • Next by Date: Re: transforming a rule of lists to a list of rules
  • Previous by thread: RE: transforming a rule of lists to a list of rules
  • Next by thread: Re: transforming a rule of lists to a list of rules