Giter Club home page Giter Club logo

Comments (10)

JacquesCarette avatar JacquesCarette commented on July 18, 2024 1

One way to find out is to put in a hole, and do C-c C-w (for 'where', I think), and it will tell you where the definition(s) come from. (I think the documentation says "hy in scope")

from agda-algebra.

JacquesCarette avatar JacquesCarette commented on July 18, 2024 1

Yes, that's probably a good idea.

from agda-algebra.

Akshobhya1234 avatar Akshobhya1234 commented on July 18, 2024

I think I found the issue. It depends on how the quasigroup is defined in stdlib. I will create an issue in stdlib to change the definition.

from agda-algebra.

JacquesCarette avatar JacquesCarette commented on July 18, 2024

Have you tried M._≈_ instead? That's the real name of the function.

from agda-algebra.

Akshobhya1234 avatar Akshobhya1234 commented on July 18, 2024

Have you tried M._≈_ instead? That's the real name of the function.

That is exactly the issue. We cannot use M._≈_.

from agda-algebra.

JacquesCarette avatar JacquesCarette commented on July 18, 2024

But that makes no sense - that names comes from a module, and it shouldn't be overloaded at all. Can you provide a bigger explanation?

from agda-algebra.

JacquesCarette avatar JacquesCarette commented on July 18, 2024

What I don't understand is how/where two version of as in-scope in M. I can understand that that's the problem.

from agda-algebra.

Akshobhya1234 avatar Akshobhya1234 commented on July 18, 2024

What I don't understand is how/where two version of as in-scope in M. I can understand that that's the problem.

Got your question. To be honest even I am confused. The agda error will not make it clear as to where two version of is in-scope in M. (Could it be from Magma that is defined in same file?) But I think we will face similar issue when we try to define direct product for Lattice.

from agda-algebra.

Akshobhya1234 avatar Akshobhya1234 commented on July 18, 2024

But for now this issue is resolved with the current changes proposed to quasigroup in stdlib.

from agda-algebra.

Akshobhya1234 avatar Akshobhya1234 commented on July 18, 2024

@JacquesCarette I got the issue. We had 2 instances of _≈_ one from Quasigroup and other from RawQuasigroup when we say

open RawQuasigroup rawQuasigroup public
using (_≈_; //-rawMagma; \\-rawMagma; ∙-rawMagma)

in Quasigroup

To overcome this with we could remove _≈_ like
open RawQuasigroup rawQuasigroup public
using (//-rawMagma; \\-rawMagma; ∙-rawMagma)

from agda-algebra.

Related Issues (4)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.