开发者

How to know whether a module requires RankNTypes or ExistentialTypes if it is not explicitly mentioned?

开发者 https://www.devze.com 2023-03-19 11:11 出处:网络
In the source of the memocombinators package, for example, no LANGUAGE pragma is explicitly mentioned and when trying to import it I get errors because 开发者_如何转开发the extension which supports th

In the source of the memocombinators package, for example, no LANGUAGE pragma is explicitly mentioned and when trying to import it I get errors because 开发者_如何转开发the extension which supports the explicit forall statement is not included. How do I know which extension is required in this case ?


Check the memocombinators.cabal file: http://hackage.haskell.org/packages/archive/data-memocombinators/0.4.1/data-memocombinators.cabal

0

精彩评论

暂无评论...
验证码 换一张
取 消