Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
In the implementation of fromInfinite, we pass an infinite list to Data.Primitive.Array.fromListN (bits + 1), but fromListN expects a list a list of length (bits + 1), which results in a runtime error. To fix this, we take the first (bits + 1) of the infinite list before passing to fromListN.
- Loading branch information