MathGroup Archive 1997

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

Search the Archive

Partition List

  • To: mathgroup at
  • Subject: [mg8398] Partition List
  • From: "Xah" <xah at>
  • Date: Tue, 26 Aug 1997 20:41:38 -0400
  • Organization:
  • Sender: owner-wri-mathgroup at

A question on programing.
I want to partition a list, using special values in the list as boundary
indicators. For example, myList={3,7,10,6,1,1,6,1,7,10,3,4,6} and my special
value for boundary is 10, then my desired result would be

How to do this using structure manipulating operators, and how to do it with
pattern matching? Thanks.

 Xah, xah at
 Mountain View, CA, USA

  • Prev by Date: non-regular regions
  • Next by Date: Re: Goofy text behavior
  • Previous by thread: non-regular regions
  • Next by thread: Re: Partition List