-
What about this way of implementing callbags? Its more readable, although a few more lines of code, and i haven't analyzed the performance overhead. Doesn't seem to conform to the type specification f…
-
# Proposal: Higher Kinded Types in Swift
- Proposal:
- Authors: TypeLift et al.
- Status: **Review**
- Review manager: TBD
## Introduction
Higher-Kinded Types are an extension to the Swift type syste…
-
Unsuprisingly, I am fond of modular type classes --- the implicit application of functors along designated paths of composition to obtain a structure of a specified signature in a "standard" (by decla…
-
Hi,
I tried chaining below operations
```java
OptionalTValue valueT1 = OptionalT.fromValue(Try.of(Optional.of("Noor1")));
OptionalTValue valueT2 = OptionalT.fromValue(Try.failure(new Runtime…
-
I wrote some utilities for Vinyl, namely:
- Reverse casting, together with a slicing lens and a newtype with a different monoid instance (uses the monoid instance for (f (el $ field)) rather than lift…
ghost updated
9 years ago
-
In the code
```
instance Alternative (Either ParserError) where
empty = Left $ ParserError 0 "empty"
Left _ e2 = e2
e1 _ = e1
```
But `empty` is not a right identity: `Left example…
-
Some opinions and proposals for the [Do Notation section](https://book.purescript.org/chapter4.html#do-notation) section (feel free to disagree):
* We shouldn't even mention `bind` or `monad` here.
…
-
**Is your feature request related to a problem? Please describe.**
In my use case I would like to use functional programming techniques, using ramda for a functional library and Crocks for an algebra…
-
I noticed that the functors in this library are applicative, but I don't think that's the right semantics... Is it?
-
Consider:
```haskell
data T a b where
MkT :: a #-> b -> MkT a b
```
(what matters here is that the second field is unrestricted)
If I have a lens `l2` into the second field, then I can a…