すごいHaskell本のイントロダクションで躓くの巻
haskell勉強しようと思ってすごいH本、m1 mac + vscode + remote container で環境作ろうと思って .devcontainer.jsonをこうして
{ "name": "HaskellDevContainer", // DockerhubのHaskell公式イメージ "image": "amd64/haskell", "extensions": [ // HaskellのVSCode拡張をインストール // https://marketplace.visualstudio.com/items?itemName=haskell.haskell "haskell.haskell", "esbenp.prettier-vscode", "mhutchie.git-graph", "eamodio.gitlens", "codezombiech.gitignore", "xyz.local-history", "donjayamanne.githistory" ] }
おもむろにghciするとshellが
killed
ようわからんけどdocker desktop -> resources からCPU、Memory、 Swapを全部Maxまで上げたらghciが起動するようになった。
$ ghci GHCi, version 9.0.1: https://www.haskell.org/ghc/ :? for help ghci>