Semigroup instance inverted
Open
- Dominant language
- Haskell
- Stars
- 83
- Forks
- 16
- PR merge metrics
- No merged PRs in 30d
Description
```haskell
ghci> sconcat (First 'a' :| [First 'b'])
First {getFirst = 'a'}
ghci> sconcat ((Rec.rnil & Rec.rcons (#foo Rec.:= First 'a')) :| [(Rec.rnil & Rec.rcons (#foo Rec.:= First 'b'))])
[("foo","First {getFirst = 'b'}")]
```
I’d expect both to return the same result, since all I did was to wrap the `First` in a `#foo` field …
Contributor guide
No contributing guide indexed for this repository
Assessment
This issue has not been assessed yet.