-
I figured out how to do this the other day:
https://gist.github.com/joelmccracken/62b2d7605d89c07aeb223d255b66cdc2
It took me a bit of time to figure it out, and I thought it would be useful in …
-
As defined currently, `Conditional` is a separate class with a single instance for types which are `SymbolicData` (under additional conditions). Expecting the addition of sum types in the future, it w…
-
Changing the Applicative instance to something like this may have been intended;
```
instance Applicative Identity where
pure !x = return x
{-# INLINE pure #-}
() !a !b = do !f
-
https://kipalog.com/posts/Functor--Applicative--Monad-bang-tranh-ve
-
In #814, @treeowl asked for functions like these:
```haskell
unsafeToSet :: (k -> a -> b) -> Map k a -> Set b
unsafeToMap :: (b -> (k, a)) -> Set b -> Map k a
```
And also ones that live in an `A…
-
i can't copy paste the log file at the moment, unfortunately. During the `optparse-applicative-0.12.1.10: build` step the following happens:
```
[11 of 15] Compiling Options.Applicative.Help.Core
…
-
Is there a reason not to have them? If not would a PR adding them be welcomed?
-
Is it possible to simplify the following two lines
https://github.com/ekmett/free/blob/a06c37ff51cc6e1a008b5d6e5f5c13c80edc67a0/src/Control/Monad/Free.hs#L222-L223
to this?
```haskell
(Pur…
-
# lionhairdino - Applicative Functor
lionhairdino - Applicative Functor
[https://lionhairdino.github.io/posts/2022-09-06-applicative_functor.html](https://lionhairdino.github.io/posts/2022-09-06-app…
-
```
[1 of 1] Compiling Main ( app/Main.hs, dist/build/find-clumpiness/find-clumpiness-tmp/Main.o )
app/Main.hs:42:10: error:
• Variable not in scope: () :: Mod f0 a0 -> Mod f1 a1 …