-
A LocalRing object is not able to be used as the coefficient ring for a bigger polynomial ring.
Here is some code which reproduces the error:
```m2
needsPackage "LocalRings";
R=ZZ/101[x_1..x_4…
-
Hi,
I have one more question using your segment tree library. I am trying to use it to solve this problem (https://cn.vjudge.net/problem/HDU-1542). Basically, it is a sweepline + segment tree with …
-
Addition: suggest adding to `Data.Vec.Functional.Base`
```agda
-- Non-empty folds
foldr₁ : (A → A → A) → Vector A (suc n) → A
foldr₁ {n = zero} _⊕_ xs = head xs
foldr₁ {n = suc _} _⊕_ xs = (he…
-
Is there a particular reason that the finite summation over a monoid is defined using `Data.Vec.Functional.Vector`, the functional definition for finite vectors, instead of the more natural choice of …
-
> Thus, even though a MonoFunctor instance for Set could theoretically be defined, it is omitted since it could violate the functor law of omap f . omap g = omap (f . g).
The current docs in `Data.…
-
Both `Map k` and `StrMap` should be instances of `Alt` and `Plus`, with `union` and `empty` as the corresponding methods.
Also, something odd I've noticed: While `Map k a` has a `Semigroup` instance …
-
Given that we've chosen addition as the monoid for money, we can define an instance for Group too.
But where should we get group from? The [groups](http://hackage.haskell.org/package/groups) package …
gwils updated
7 years ago
-
It should be easy for the user to specify "zero" or smal enough data to trim from the stores
-
There is an explicit isomorphism for this:
``` haskell
fromAdj :: Adjunction f u => f a -> (a, Rep u)
fromAdj = rightAdjunct (tabulate . (,))
toAdj :: Adjunction f u => a -> Rep u -> f a
toAdj = ind…
-
Hi, apologies, this is neither a feature request nor a bug report. But a question that I did not know where else to ask.
Is there a way to derive a capability using a lens into a state? I understan…