
28 Feb
2020
28 Feb
'20
10:02 a.m.
On 28/02/2020 04.40, Zemyla wrote:
I'm kind of the opposite. I think the number given to fromListN should be a "size hint", not a redundant coding of the size of the list given.
One option would be to have a data Size = Hint Int | Exact Int as a parameter and let the user specify desired behavior. (Assuming it's easy to accomodate either.) Regards,