scsh-users
[Top] [All Lists]

help with an Scheme function

To: scsh-news@zurich.ai.mit.edu
Subject: help with an Scheme function
From: stebi@luxwg.de (Stebi)
Date: 16 Dec 2002 21:54:34 -0800
Organization: http://groups.google.com/
Hi there

I need a function that does the following:

(find-list '(1 2 3) '(1 2 3 4 5 1 2 3 4 5 1 2 99))
=> (0 5)


it is a function that searches the position of the sublist in this
case '(1 2 3) in the entire list ???

I'm trying to write that function now for several hours, but I don't
get a result

so can please somebody help me????


thx a lot :)

Stebi

<Prev in Thread] Current Thread [Next in Thread>