sanctuary: Maximum call stack size exceeded when creating Just of a large array

When creating a Just of a large array, I get a RangeError: Maximum call stack size exceeded. This appears to be due to type checking within the Just constructor, and the error is pinned to sanctuary-type-classes/index.js:788. Still looking into the issue, will post more details here as I find them.

About this issue

  • Original URL
  • State: closed
  • Created 6 years ago
  • Comments: 15 (8 by maintainers)

Most upvoted comments

S.Just (new Array (999999)) works in v0.15.0. 😃