haskell / haskell/mtl

Add "Lifting" newtypes for DerivingVia

Open
#144 7 comments 0 reactions 0 assignees View on GitHub
Dominant language
Haskell
Stars
401
Forks
72
PR merge metrics
No merged PRs in 30d

Description

Why don't we have `LiftingState` newtype wrapper like `LiftingAccum` and `LiftingSelect`?
It seems that state methods are very easy to lift:
```
get = lift get
put = lift . put
```

Contributor guide

No contributing guide indexed for this repository

Research direction

Start with LiftingAccum and LiftingSelect and compare how their newtype wrappers support DerivingVia; then examine the existing State get and put methods. Done means a LiftingState wrapper provides analogous lifting behavior and the project’s relevant checks pass.

Written by the indexing model from the issue text.

Assessment

Tech stack
haskell
Domain
backend-api-design
Issue type
Feature
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
45/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.