On 05/22, Dario Sanfilippo wrote:
>
> > But this doesn't really matter. What (I think) does matter is that, say,
> > ((((1,2)))) should match (x,xs), no matter how many parentheses you add.
> >
>
> What is the reason why this is not happening?

confused... this _is_ happening, iiuc. And again, IIUC that is why
"take(2, (0, (1,2,3)))" doesn't return (1,2,3) as you want; after the
1st step it leads to take(1, (1,2,3)) and "(1,2,3)" matches "(xs,xxs)").

> As a workaround, could it be possible to rewrite take so that a dummy
> element is attached at the end of the list? I'll try.

Good luck ;) I don't think this is possible.

Oleg.



_______________________________________________
Faudiostream-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/faudiostream-users

Reply via email to