<div dir="ltr">Which version of Agda are you using? The book is currently released for Agda 2.6.0.1, Agda stdlib 1.1. We will upgrade soon. Go well, -- P<div><br clear="all"><div><div dir="ltr" class="gmail_signature" data-smartmail="gmail_signature"><div dir="ltr"><div><div dir="ltr"><div dir="ltr"><div><div dir="ltr">.   \ Philip Wadler, Professor of Theoretical Computer Science,<br>.   /\ School of Informatics, University of Edinburgh<br></div><div>.  /  \ and Senior Research Fellow, IOHK<br></div><div dir="ltr">. <span><a href="http://homepages.inf.ed.ac.uk/wadler/" target="_blank">http://homepages.inf.ed.ac.uk/wadler/</a></span></div></div><div dir="ltr"><br></div></div></div></div></div></div></div><br></div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Wed, 15 Apr 2020 at 12:14, Michel Levy <<a href="mailto:michel.levy.imag@free.fr">michel.levy.imag@free.fr</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">When I try to reproduce the currying proof, I get the following error<br>
Expected non-abstract record type, found<br>
(.A → .B → .C) ≃ .A x .B → .C<br>
when checking that the expression<br>
record<br>
{ to = λ { f → λ { < x , y > → (f x) y } }<br>
from = λ { g → λ { x y → g < x , y > } }<br>
; from∘to = λ { f → refl }<br>
; to∘from = λ { g → extensionality λ { < x , y > → refl } }<br>
}<br>
has type (.A → .B → .C) ≃ .A x .B → .C<br>
<br>
Where does this error come from, from my too old version of agda?<br>
<br>
-- <br>
courriel : <a href="mailto:michel.levy.imag@free.fr" target="_blank">michel.levy.imag@free.fr</a><br>
mobile : 06 59 13 42 53<br>
web : <a href="http://michel.levy.imag.free.fr" rel="noreferrer" target="_blank">michel.levy.imag.free.fr</a><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>