Re: [Felix-language] warning message on use of Array::find

2007-03-24 Thread skaller
On Sat, 2007-03-24 at 16:11 -0700, Erick Tryzelaar wrote: > I found an interesting case using Array::find. find has two function > signatures: > > fun find[T, N] (eq:T->bool) (x:array[T, N]): opt[T] > fun find[T, N] (eq:T*T->bool) (x:array[T, N]) (e:T): opt[T] > > This is all fine, except when

[Felix-language] warning message on use of Array::find

2007-03-24 Thread Erick Tryzelaar
I found an interesting case using Array::find. find has two function signatures: fun find[T, N] (eq:T->bool) (x:array[T, N]): opt[T] fun find[T, N] (eq:T*T->bool) (x:array[T, N]) (e:T): opt[T] This is all fine, except when the array you're working with is an array of tuples, like this: val a