<div dir="ltr"><div>Nice. Here's my solution:</div><div><br></div><div><a href="https://gist.github.com/UlfNorell/aed09c281d1f6c515be4316a7a48874d">https://gist.github.com/UlfNorell/aed09c281d1f6c515be4316a7a48874d</a></div><div><br></div><div>I found constructing the first argument to f in the recursive step to be the trickiest part.<br></div><div><br></div><div>/ Ulf<br></div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Sun, Jun 12, 2022 at 8:44 PM Roman <<a href="mailto:effectfully@gmail.com">effectfully@gmail.com</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">Hi Jason.<br>
<br>
the body is the real challenge, `RecN` is a warm-up :)<br>
_______________________________________________<br>
Agda mailing list<br>
<a href="mailto:Agda@lists.chalmers.se" target="_blank">Agda@lists.chalmers.se</a><br>
<a href="https://lists.chalmers.se/mailman/listinfo/agda" rel="noreferrer" target="_blank">https://lists.chalmers.se/mailman/listinfo/agda</a><br>
</blockquote></div>