Add qualified do module for (semigroup) `V`
Nessuno ha ancora preso questa issue.
Valutazione
- Difficoltà
- 3/5
- Tempo stimato
- 1-2 giorni
- Idoneità per principianti
- 45/100
- Tipo di issue
- Funzionalità
- Chiarezza
- Abbastanza chiara
- Stato di attività
- Ferma
- Ambito
- backend
Direzione di ricerca
Start by reading the existing Data.Validation.Semigroup module and how this repository organizes and tests modules. The issue proposes a Data.Validation.Semigroup.QualifiedDo module exposing bind as andThen; confirm the expected type and add coverage for using it with qualified do notation. Done when the module supports the proposed usage and the relevant tests pass.
Scritto dal modello di indicizzazione a partire dal testo della issue.
Descrizione
The Data.Validation.Semigroup V does not have a Bind instance because it can lead to unexpected results despite it otherwise working fine. That makes sense, but when I do want that behavior, I can use andThen. Unfortunately, it means I can't use do notation anymore.
As a workaround, perhaps a module should be added to this repo which exposes the following module?
module Data.Validation.Semigroup.QualifiedDo
import Data.Validation.Semigroup (V, andThen)
bind :: -- type signature
bind = andThen
Then, when imported as import Data.Validation.Semigroup.QualifiedDo as V, we can use V.do. Since its qualified do notation, one is able to see that something 'special' is going on with the bind calls.
- Lingua principale
- PureScript
- Stelle
- 45
- Fork
- 13
- Merge medio
- 2g 6h
- PR unite (30g)
- 1
Preparare l'ambiente
- Nessun Dockerfile né file Docker Compose
- Ha un modello di pull request
- Nessuna guida per i contributori
Come iniziare
- Leggi tutta la issue e poi la guida ai contributi del progetto.
- Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
- Fai un fork del repository e lavora su un branch.
- Apri una pull request che faccia riferimento al numero della issue.
Altre issue di purescript/purescript-validation
-
purs-0.15 type: breaking change
Difficoltà 5/5 Più di una settimana Idoneità per principianti 20/100
purescript/purescript-validation#27 · 7 commenti ·
Tutte le issue di purescript/purescript-validation
Issue simili
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 70/100
-
remove the use of `forget`Apertagood first issue help wanted
Difficoltà 2/5 1-3 ore Idoneità per principianti 80/100
I maintainer di solito rispondono entro 1 giorno
-
bug good first issue
Difficoltà 2/5 1-3 ore Idoneità per principianti 85/100
I maintainer di solito rispondono entro 1 giorno
-
bug
Difficoltà 2/5 1-3 ore Idoneità per principianti 72/100
I maintainer di solito rispondono entro 1 giorno
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 62/100
milind-soni/OpenMausBot#5829 ·
I maintainer di solito rispondono entro 1 giorno