<div dir="ltr"><div class="gmail_extra"><br></div><div class="gmail_extra"><div class="gmail_quote">On Mon, Sep 26, 2016 at 6:38 AM, Valery Isaev <span dir="ltr">&lt;<a href="mailto:valery.isaev@gmail.com" target="_blank">valery.isaev@gmail.com</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div dir="ltr"><div>Oh, sorry. It seems that this code works well indeed. The problem occurs in the code I give below. The reason is that I import both Data.List and Data.Vec. But since xs has type List ℕ, it should be obvious which constructor to use.</div></div></blockquote><div><br></div><div>Constructor disambiguation doesn&#39;t work that way I&#39;m afraid. In order to make use of argument types we&#39;d have to essentially try type checking all possibilities, and I&#39;m a bit worried about exponential behaviour.</div><div><br></div><div>/ Ulf</div></div></div></div>