-
Reported by **ewaryst** and assigned to **maeder**
Migrated from http://trac.informatik.uni-bremen.de:8080/hets/ticket/692
---
Consider the spec
```
logic HasCASL
spec Monoid =
sort Elem
…
-
This depends on newtypes; without newtypes, we can't really do this.
As far as I can see, no evidence has been presented that MonoidK and SemigroupK are useful abstractions. So far, all they exist …
-
I've just realised http://fontawesome.io uses the same grid as Monoid. This would make it fairly easy to create a version of Monoid that includes all the Font-Awesome icons as ligatures.
This would …
-
* [x] Lay groundwork
* [x] Implement substitution of constructor/codef label for self
* [x] Implement local pattern matches with motives
* [ ] Implement local definitions
* [ ] Implement loca…
-
Reducers model append and prepend operations on Monoidal containers.
[Described on slide 9 of this talk by Kmett](http://comonad.com/reader/wp-content/uploads/2009/08/IntroductionToMonoids.pdf)
See …
-
Reproduction (on mathlib 8fd86366a4472716b25100e831a2ba0f266b28b8)
```lean
import linear_algebra.basic
variables {R : Type*} {M : Type*} {M₂ : Type*} {M₃ : Type*} {M₄ : Type*}
variables [semirin…
-
I would like to try and separate the equality stuff from the structure traits. I'm thinking something like this:
``` rust
pub trait MagmaAdditive
: Add
+ Eq
{}
```
would become:
``` rust
pu…
ghost updated
5 years ago
-
This exercise is proposed in the context of the Haskell track, but I'm posting it here because I like the idea of sharing exercise ideas across, and monoid abstractions exist in other languages, too. …
-
I assume that `stimes 0 xs` should be `mempty` for all monoids.
However, this is something that is easy to miss + many of the implementations out there are "broken" in that regard.
Should we tes…
sol updated
11 months ago
-
Well, it's true, there is no such variable that I know of.
``` idris
module CopumpkinStyleFingerTrees
import Prelude.Algebra
import Classes.Verified
-- %default total
data Digit : Type -> Type whe…