agrafix / agrafix/elm-bridge

`Either` is not an Elm type (as of v0.19)

Aperta
#63 1 commento 0 reazioni 0 assegnatari Vedi su GitHub
Lingua principale
Elm
Stelle
107
Fork
28
Metriche di merge delle PR
Nessuna PR unita negli ultimi 30g

Descrizione

I got an error while using Either in Haskell

```elm
type alias Player =
{ name: String
, rating: (Either String (Int, String))
, delta: String
, positionChange: String
, country: String
}
```

It tried to use exactly the same type and even use the `jsonDecEither` helper, but this types are not valid in Elm anymore, I guess the recommended way should be to output `Result` instead? 🤔

Guida per i contributori

Nessuna guida per i contributori indicizzata per questo repository

Valutazione

Questa issue non è ancora stata valutata.

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.