-
Currently there are functions
```haskell
mapKeys :: (Ord k) => (j -> k) -> Map j a -> Map k a
traverse :: (Applicative f) => (a -> f b) -> Map k a -> f (Map k b)
```
but nothing of the type `(Ap…
-
Hi there, Dry-monads now has the applicative method which allows for
https://github.com/dry-rb/dry-monads/blob/master/lib/dry/monads/right_biased.rb#L122
`
Some( -> x { x + 1 }).apply(Some(1))…
-
Found myself wanting these:
```haskell
traverseFields ::
(Record rec, Applicative m) =>
(forall ty. Field rec ty -> m a) ->
m [a]
traverseFields f =
traverse (\(SomeField field) -> f …
-
https://hackage.haskell.org/package/contravariant-1.4/docs/Data-Functor-Contravariant-Divisible.html
Example use case: `divide` can be seen as a way of deriving behavior by splitting a "larger" typ…
-
It would be nice to have a better way of using monads than nested `>>=` functions. OCaml 4.08.0 has the new `let+`/`let*` operators for monads and applicatives, but it's not clear when Bucklescript w…
-
When running `idris --install profunctors.ipkg` I get the following error messages:
```
Type checking ./Data/Profunctor.idr
./Data/Profunctor.idr:40:27-51:
|
40 | dimap f g (Kleisli h) = K…
-
## Issue description
I wonder if it would be possible to autogenerate zsh/bash/fish completions for haskell packages when detecting that optparse-applicative is a direct dependency ?
One could ite…
-
I'm getting:
```
-- While building custom Setup.hs for package packunused-0.1.2 using:
/home/cibuild/.stack/setup-exe-cache/x86_64-linux/Cabal-simple_mPHDZzAJ_2.2.0.1_ghc-8.4.2 --builddi…
-
Hola,
I just found this fairly interesting little `newtype`:
```haskell
{-# language BlockArguments #-}
{-# language DeriveFunctor #-}
{-# language DerivingStrategies #-}
module Reactive.B…
-
Looks like this code taken from @scolsen's comment in #1012 loops forever.
```
(load "https://github.com/scolsen/typeclass@master")
(defn bi-lift [f applicative-a applicative-b]
(sequence…