[Agda] strange mismatch

Andrés Sicard-Ramírez asr at eafit.edu.co
Fri May 26 14:25:19 CEST 2017


On 26 May 2017 at 03:44, Sergei Meshveliani <mechvel at botik.ru> wrote:
> On Fri, 2017-05-26 at 01:03 -0500, Andrés Sicard-Ramírez wrote:
>> On 25 May 2017 at 11:40, Sergei Meshveliani <mechvel at botik.ru> wrote:
>> > For example, for the equation
>> >
>> >     f (con zr) _ = con zr
>> >
>> > in the above context we have that
>> > zr  in the pattern is a variable to be matched,
>> > and  zr  on the right-hand side is the one in the parameters.
>> > Right?
>>
>> No. The `zr` on the RHS is also the variable in the pattern.
>>
>
> And where this zr will be taken from the parameters?
> I expect that in this clause:
>
>     f _ _ = con zr
> ?

Yep.

--
Andrés
La información contenida en este correo electrónico está dirigida únicamente a su destinatario y puede contener información confidencial, material privilegiado o información protegida por derecho de autor. Está prohibida cualquier copia, utilización, indebida retención, modificación, difusión, distribución o reproducción total o parcial. Si usted recibe este mensaje por error, por favor contacte al remitente y elimínelo. La información aquí contenida es responsabilidad exclusiva de su remitente por lo tanto la Universidad EAFIT no se hace responsable de lo que el mensaje contenga. The information contained in this email is addressed to its recipient only and may contain confidential information, privileged material or information protected by copyright. Its prohibited any copy, use, improper retention, modification, dissemination, distribution or total or partial reproduction. If you receive this message by error, please contact the sender and delete it. The information contained herein is the sole responsibility of the sender therefore Universidad EAFIT is not responsible for what the message contains.


More information about the Agda mailing list