-
I attempted to define:
```
structural type Functor f =
{map : forall a b. (a -> b) -> f a -> f b }
```
Which failed with:
```
I found a value of type: (a1 -> b1) -> đť•Ł
where I ex…
-
Why don't we create an abstract type Functor that has the API:
```julia
dom(F::Functor)::Theory
codom(F::Functor)::Theory
function (F::Functor)(x::Ob{:generator})
...
end
function (F::Fun…
-
First of all, thanks for the great work!
http://counterexamples.org/unstable-types.html
The counterexample by Russo is due to open-scope unpacking of first-class modules and *applicative* functo…
-
Related to https://github.com/kokkos/kokkos-core-wiki/pull/504 and https://github.com/kokkos/kokkos/pull/6801#issuecomment-1969888881.
Even with changes like
```diff
diff --git a/algorithms/src/sor…
-
Sample project:
https://github.com/jmagaram/functors
Look at file `Simple.res` with the code:
```res
@genType
let hello = JSON.Encode.string("hello")
```
The TypeScript is...
```ts
…
-
Currently, calls to overloaded primitives which happen to have functors with overlapping domains generate a compiler error, even if the conflicting implementation is only provided once.
Here an exa…
-
Functors in Logica are functions that map named tuples of predicates to a predicate.
Currently the only available functors are substitutions. Any predicate can work as a functor.
External Functors…
-
Note: the issue was created automatically with bugzilla2github tool
Original bug ID: BZ#3342
From: @gmalecha
Reported version: unspecified
CC: @silene, @herbelin, @mikeshulman
See also: [BZ#3746](…
-
I think with https://github.com/ndmitchell/hlint/pull/1540, we are now hitting Functor law hints more than before.
As an example, I was just prompted to change some code from:
```hs
Platfor…
-
We could improve the code generated when compiling cmo files if we knew the arity of the functions exported by each module. This would allow to call functions directly rather than going through an hel…