New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

cabal 当中怎样移除模块? by jiyinyiyong #124

Open
freizl opened this Issue Apr 30, 2018 · 3 comments

Comments

Projects
None yet
1 participant
@freizl
Member

freizl commented Apr 30, 2018

cabal --help 看了下, 没有看到 remove unsinatll 之类的子命令,
难道 cabal 是不让清除模块的吗?

@freizl freizl added the migration label Apr 30, 2018

@freizl

This comment has been minimized.

Member

freizl commented Apr 30, 2018

在网上搜到一个.. 但不是 cabal
http://stackoverflow.com/questions/10576868/how-can-i-uninstall-a-version-of-a-cabal-package

$ ghc-pkg unregister --force regex-compat-0.95.1
@freizl

This comment has been minimized.

Member

freizl commented Apr 30, 2018

是这样做的,不过建议用独立的cabal sandbox

@freizl

This comment has been minimized.

Member

freizl commented Apr 30, 2018

研究一下.. 我刚搞定 .cabel 这个配置文件, 还要点时间才能上手 sandbox

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment