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.
即使安装了时间包,我的 ghci 也找不到日历模块。
$ ghc-pkg list | grep time old-time-1.0.0.6 time-1.2.0.3 time-1.4.0.1
我试图删除旧的,但这破坏了很多其他的包。我该如何解决这个问题?
假设您的问题措辞正确:模块被调用Data.Time.Calendar而不是Date.Time.Calendar.
Data.Time.Calendar
Date.Time.Calendar