coq-club AT inria.fr
Subject: The Coq mailing list
List archive
- From: Xuanrui Qi <xuanrui AT nagoya-u.jp>
- To: coq-club AT inria.fr
- Subject: Re: [Coq-Club] Agda is better
- Date: Sat, 18 Jan 2020 16:08:55 +0900
- Authentication-results: mail2-smtp-roc.national.inria.fr; spf=None smtp.pra=xuanrui AT nagoya-u.jp; spf=Pass smtp.mailfrom=xuanrui AT nagoya-u.jp; spf=None smtp.helo=postmaster AT smtp.nagoya-u.jp
- Ironport-phdr: 9a23:EjhPkRPxA+nFNL5jqp4l6mtUPXoX/o7sNwtQ0KIMzox0Ivz9rarrMEGX3/hxlliBBdydt6sYzbKH+Pm4ASRAuc/H7ClZNsQUFlcssoY/p0QYGsmLCEn2frbBThcRO4B8bmJj5GyxKkNPGczzNBX4q3y26iMOSF2kbVImbuv6FZTPgMupyuu854PcYxlShDq6fLh+MAi6oR/eu8ULjoZuMLo9xx/GrndVZ+ha2X5jKVaPkxrh/Mu984Nv/ipKt/4968JMVLjxcrglQ7BfEDkoKX0+6tfxtRnEQwuP538cXXsTnxFVHQXL7wz0U4novCfiueVzxCeVPcvtTbApQjui9LtkSAXpiCgcKTE09nzch9Fqg6JapBKhoAF/w5LRbYqIOvdyYr/RcNUHTmdHQ81fVTFOApmkYoUMEuQPPfhWoYf/qFsAsRSxCwajCfjgyjNUnHL7x7E23v4jHAzAwQcuH8gOsHPRrNjtNagSTPq6zK/SzTXebvNdxCzz6InVeR0mrvCMQKh/cczLyUkyFgPIlVOQppbqPzOS1uUCqXGX7/d6WeKtk24qsgd8qSWhyMcrj4nGnIMVylbc+CR23YY6P9u4SFRmYd6lCZtQtjuWOJdxQsMnW21npCY6xacCuZ6+YicK0o8nywTEa/OZdYWD/xHtVP6JLDtlin9odqiziheo/US9yeDwSNO43VVEoyZdj9XAqH4A2wbO5sSdS/Zx4l2t1SiT2w3V9+pKO1o7lbDBJJ4k2rMwloQcsUDEHiLug0X2ibOWdl0+9uiu8evnbbLmp5+GOINtlwHyKKYumtSnDeQ5NAgBQXSb9Pyh2LDt80D1WrRHgucrnqTarpzWP8cWq6ChDw9QyIkj6hK/Dzm80NQfmHkKNF1EeA+dgIjvIVHOPfH4AOy5g1u2nzdrwPDHMaf4DpXQNHTDkq/hca5n60FA0Aoz0cxf55VMB74dJ/LzQ1b9u8DcDh8kKAO52P3nCdV41oMGQ22DGK6ZMKXIsV+J/O0jOeeMZJVG8Ar6fvMi/rvliWIzsV4bZ6igm5UNO16iGfEzE1iQZ2Dxg584EC9erhc3Svb3iXWEWDFUdn/3QuQ+/mdoW8qdEY7fS9X10/S61yChE8gOPzEUOhW3CX7tMr68dbIJYSOWLNVml2VfB76oRIgw3FSz8g3imeM+crjkvxYAvJem7+BbovXJnEhppzp9AMOM2iSQCWNszDtRGm0GmZtnqEk48W+tlKh1h/sBRY5I4u9RFAEzOpnNxqlnTdLqCFrM
> In Agda one can reuse names of fields in records, while in Coq that
> yields an error
I'm not sure this is always desirable. Shadowing of field names can be
confusing at times so I'd not always call this a "usability
improvement".
Meanwhile, I do have my opinion on how Agda is better than Coq, but IMO
it's not due to the design of the theorem provers, but rather the fact
that Agda has more edit-time utilities and tool support. I'd like to
share my Coq Workshop 2019 slides (& accompanying abstract) where I
elaborate on the ergonomics of Coq programming:
https://www.xuanruiqi.com/assets/coqws2019_long.pdf
https://www.xuanruiqi.com/assets/coqws2019_slides.pdf
-Xuanrui
On Fri, 2020-01-17 at 20:33 +0100, Sergey Goncharov wrote:
> On 17/01/2020 20:06, Agda Guru wrote:
> > Agda is better
>
> This looks like a start of a new amusing thread. I am willing to
> believe
> that Agda is better, but I would be happy if someone helps me to
> rationalize this subtle feeling, in particular by going beyond this
> list
> https://wiki.portal.chalmers.se/agda/pmwiki.php?n=Main.AgdaVsCoq
>
> Let me start. Foundational issues aside, Agda seems to be better
> designed, as a programming language, in particular, as a recently
> learned:
>
> 1. In Agda one can reuse names of fields in records, while in Coq
> that
> yields an error:
>
> Parameter X : Set.
>
> Record some_record : Set :=
> {
> field_name : X
> }.
>
> Record some_other_record : Set :=
> {
> field_name : X
> }.
>
> ----> "Error: field_name already exists."
>
>
> Cheers,
>
Attachment:
signature.asc
Description: This is a digitally signed message part
- [Coq-Club] Agda is better, Agda Guru, 01/17/2020
- Re: [Coq-Club] Agda is better, Timothy Carstens, 01/17/2020
- Re: [Coq-Club] Agda is better, Agda Guru, 01/17/2020
- Re: [Coq-Club] Agda is better, Sergey Goncharov, 01/17/2020
- Re: [Coq-Club] Agda is better, Xuanrui Qi, 01/18/2020
- Re: [Coq-Club] Agda is better, Sergey Goncharov, 01/18/2020
- Message not available
- Re: [Coq-Club] Agda is better, Xuanrui Qi, 01/18/2020
- Re: [Coq-Club] Agda is better, Kevin Sullivan, 01/18/2020
- Re: [Coq-Club] Agda is better, Xuanrui Qi, 01/18/2020
- Re: [Coq-Club] Agda is better, Xuanrui Qi, 01/18/2020
- Re: [Coq-Club] Agda is better, Timothy Carstens, 01/17/2020
Archive powered by MHonArc 2.6.18.