Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我正在尝试使用函数 readMaybe,它应该在 Text.Read 库中,但是当我编译时收到此消息:
Module `Text.Read' does not export `readMaybe'
谁能告诉我我做错了什么?谢谢 ;)
该功能readMaybe是在 ghc-7.6.1(或base-4.6.0.0)中添加的。也许您使用的是旧版本的 GHC?
readMaybe
base-4.6.0.0