Open
Description
Hello,
I have a reproducible stack overflow error triggered by just mapping a D.text
element over a sufficiently large array (n > 9000
). This is a synthetic example derived from a real example that was mapping over two dimensions with more reasonable values. While the N is higher, the error seems to be the same.
This reproduces for n > 9000
, at least in my Chrome. Tested on TryPurescript to avoid any potential local issues with same results.
testCase :: forall a. Int -> Widget HTML a
testCase n = D.div' $ (\x -> D.text $ (show x) <> "\t") <$> (A.range 0 n)
Full gist here:
https://gist.github.com/fros1y/09bf2efabe49d880f0a9c022f25d2706
To the extent it is relevant, I'm using a Linux build of Chrome, Version 84.0.4147.135 (Official Build) (64-bit)
Please let me know if there is more data I can provide!