exercism / exercism/haskell

Series exercise requires strange edge case handling

Open
#1,047 1 comment 0 reactions 0 assignees View on GitHub
Dominant language
Haskell
Stars
529
Forks
201
PR merge metrics
No merged PRs in 30d

Description

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?

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.