Re: Handling pathological lists
Available news archives: comp.lang.tcl - comp.lang.python - comp.security.firewalls - sci.crypt - comp.lang.php - comp.lang.javascript
Google
 
Web news.hping.org


comp.lang.tcl archive

Re: Handling pathological lists

From: keithv <kvetter@gmail.com>
Date: Sat Oct 29 2005 - 15:47:13 CEST

keithv wrote:
> Boiling down a complex problem to a simple problem,
> I need to find the llength of the first item of a
> list. Simple right?

Okay, I guess I agree that technically it isn't a
pathological list but instead using a string where
a list was expected.

But let me restate the problem: write a routine that
flattens a list, e.g.
  where: [list [list a b] c [list d e [list f g]]]
  becomes: {a b c d e}

Keith
Received on Mon Nov 21 00:37:00 2005