exercism / exercism/haskell

Series exercise requires strange edge case handling

Aperta
#1,047 1 commento 0 reazioni 0 assegnatari Vedi su GitHub
Lingua principale
Haskell
Stelle
529
Fork
201
Metriche di merge delle PR
Nessuna PR unita negli ultimi 30g

Descrizione

The test cases for the Series exercises require that
`series 0 [] = [[]]`
`series _ [] = []`

This seems counterintuitive and is not documented in the problem description.
Is there a reason why the test cases were chosen like this?

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.