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
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