MathGroup Archive 2007

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

Search the Archive

Riffle[] accepts only lists. Why?

  • To: mathgroup at smc.vnet.net
  • Subject: [mg81895] Riffle[] accepts only lists. Why?
  • From: Szabolcs Horvát <szhorvat at gmail.com>
  • Date: Sat, 6 Oct 2007 04:35:44 -0400 (EDT)

Why does Riffle[] accept only lists as its first argument?  All other 
list-manipulation functions, like Append[], Insert[], Cases[] etc. work 
on all kinds of expressions, not just lists.  This seems like an 
unnecessary restriction on Riffle[].

Szabolcs


  • Prev by Date: Mouse cursor properties
  • Next by Date: CellMargins Question
  • Previous by thread: Re: Mouse cursor properties
  • Next by thread: CellMargins Question