I am looking to perform a lookup function to find the position of a list within another list. The depth of the lists will never increase. For example, it will always be ((aa)(ab)(ac)).
Is it possible to pass a variable to a function and have it return the corresponding index of that item in the list?
I’ve attached my attempt below, but OM evaluated to nil. I presume this is due to the nested list. I can successfully utilize the ‘position’ function without nested lists.