Comments (10)
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.
Yes, that's probably a good idea.
from agda-algebra.
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.
Have you tried M._≈_
instead? That's the real name of the function.
from agda-algebra.
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.
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.
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.
What I don't understand is how/where two version of
≈
as in-scope inM
. 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.
But for now this issue is resolved with the current changes proposed to quasigroup in stdlib.
from agda-algebra.
@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
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from agda-algebra.