我使用以下命令在Windows上安装了Haskell:
-
Set-ExecutionPolicy Bypass -Scope Process -Force; [System.Net.ServicePointManager]::SecurityProtocol = [System.Net.ServicePointManager]::SecurityProtocol -bor 3072; iex ((New-Object System.Net.WebClient).DownloadString('https://chocolatey.org/install.ps1'))
-
choco install haskell-dev
%APPDATA%\Code\User\settings.json
)添加以下条目:"code-runner.executorMap": { "haskell": "runghc" },
- Gabriel Anton