Skip to content

ghci takes super long time to find the type of large fractional number

:t 1e123456789

takes more than 3 seconds to get the type info.

:t 1e1234111111111111111111111

shows a warning/error,

GNU MP: Cannot allocate memory (size=93978265)
Trac metadata
Trac field Value
Version 8.4.3
Type Bug
TypeOfFailure OtherFailure
Priority normal
Resolution Unresolved
Component GHCi
Test case
Differential revisions
BlockedBy
Related
Blocking
CC
Operating system
Architecture
To upload designs, you'll need to enable LFS and have an admin enable hashed storage. More information