-
We're currently implementing a Category that will execute on the GPU via Accelerate.
A recurring issue is that in Accelerate, we can have arrays of numeric types (and tuples of them), but not neste…
-
Hi all!
I'm confused about how to decide whether something is a functor. So far my understanding is that a functor should have a constructor, a map() mathod, and follows the functor laws stated in l…
-
Hello!
I just want to check what's the difference between functors and monads and how to tell if a class is one.
From what I read up on, Functor is just an immutable generic box and it needs to …
-
A simple use case:
```julia
pl = ElasticDistortion(6, scale=0.3, border=true) |>
Rotate([10, -5, -3, 0, 3, 5, 10]) |>
ShearX(-10:10) * ShearY(-10:10) |>
Crop…
-
I would like to suggest a new feature.
It would be nice if BatISet was (also) a functor. From my point of view, the type that would by the functor would need to have at least pred and succ.
We could t…
-
Higher-order functors are an old and obvious extension.
I think the only problem is whether defunctorizers like MLton can support them. I suspect that the module language would still be normalizing…
-
[Error : Unity Log] NullReferenceException: Object reference not set to an instance of an object
Stack trace:
LCV.Patch.TerminalPatch.ParsePlayerSentence_Postfix (TerminalNode __result) (at :0)
(w…
-
It is useful to have:
``` purescript
class (Contravariant f) Boolean) -> f a -> f a
cfilterCmap :: forall a b. (b -> Maybe a) -> f a -> f b
cpartition :: ...
cpartitionCmap :: ...
```
An exam…
-
People often want to interpolate histograms. Interpolating profiles is even more useful. Interpolation should be done via a functor, so that the interpolation can have state.
```
auto h = ... // his…
-
This example
```
functor Foo (val update : RealArray.array * int * real -> unit) =
struct
val foo = update
end
structure Foo = Foo (val update = RealArray.update);
val a = RealArray.array …