From owner-freebsd-chat Thu Oct 31 11:43: 3 2002 Delivered-To: freebsd-chat@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id E8AA937B401 for ; Thu, 31 Oct 2002 11:43:02 -0800 (PST) Received: from alicia.nttmcl.com (alicia.nttmcl.com [216.69.69.10]) by mx1.FreeBSD.org (Postfix) with ESMTP id 6C21343E8A for ; Thu, 31 Oct 2002 11:43:02 -0800 (PST) (envelope-from jj@alicia.nttmcl.com) Received: from alicia.nttmcl.com (localhost [127.0.0.1]) by alicia.nttmcl.com (8.12.5/8.12.5) with ESMTP id g9VJhBvm071668 for ; Thu, 31 Oct 2002 11:43:11 -0800 (PST) (envelope-from jj@alicia.nttmcl.com) Received: (from jj@localhost) by alicia.nttmcl.com (8.12.5/8.12.5/Submit) id g9VJhBu3071667 for freebsd-chat@freebsd.org; Thu, 31 Oct 2002 11:43:11 -0800 (PST) Date: Thu, 31 Oct 2002 11:43:11 -0800 From: Shannon -jj Behrens To: freebsd-chat@freebsd.org Subject: Go BSD!!! (halloween costume) Message-ID: <20021031194311.GA69830@alicia.nttmcl.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.4i Sender: owner-freebsd-chat@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org -jj -- def qsort(l): # Purely functional implementation of QSort in Python. if not len(l): return [] return (qsort([i for i in l[1:] if i < l[0]]) + [l[0]] + qsort([i for i in l[1:] if i >= l[0]])) To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-chat" in the body of the message