Installing Haskell Gloss

馋奶兔 提交于 2019-12-08 15:58:32

问题


I'm having the most difficult time trying to understand what I am doing wrong with installing haskell on windows. I've downloaded the platform binary and ran the .exe file. Afterwards the instructions on their hackage website tells me to run cabal install gloss.

Whenever I try this in their GHCI shell, I get the following errors:

<interactive>:1:1: Not in scope 'cabal'
<interactive>:1:7: Not in scope 'install'
<interactive>:1:15: Not in scope 'gloss'

I know for a fact cabal install gloss isn't the correct command, but I can't seem to find anything online that'll help me figure this out. Would much appreciate your help.

Thanks!


回答1:


Click Start → Run. Type cmd and press Enter. A Windows command prompt window will appear, in which you can run the cabal install gloss command.



来源:https://stackoverflow.com/questions/9665843/installing-haskell-gloss

标签
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!