Haskell环境配置

  • Haskell on Windows环境配置

GHCup

The installation of the Haskell toolchain consists of the following tools:

  • GHC: the Glasgow Haskell Compiler
  • cabal-install: the Cabal installation tool for managing Haskell software
  • stack: a cross-platform program for developing Haskell projects
  • haskell-language-server (optional): A language server for developers to integrate with their editor/IDE

项目有两种托管方式 stack 或者 cabal

On VsCode

怎么把程序运行 怎么在vscode上进行调试我还没有搞懂,先把参考链接放这里了

C:\Users\zhu-jl\AppData\Local\Programs\stack\x86_64-windows

多了一步stack install phoityne-vscode

aa

怎样设置stack里ghc的版本

Online

有一个网站Try it Online

还有一个 Gitpod