<div dir="ltr">Thanks Irfon-Kim for your research, but you're making this a lot harder than it needs to be. I'll try to redress the balance -- not that I'm claiming it's Windows-friendly.<div><br></div><div>> Y<span style="color:rgb(0,0,0);font-family:monospace,monospace;font-size:1em;white-space:pre-wrap">es, you need to know several magic things to go this route.</span></div><pre style="white-space:pre-wrap;color:rgb(0,0,0)">></pre><pre style="white-space:pre-wrap;color:rgb(0,0,0)"><br></pre><pre style="white-space:pre-wrap;color:rgb(0,0,0)">You don't need to install any extra tools, nor use a command line, nor have a bar of chocolatey.</pre><pre style="white-space:pre-wrap;color:rgb(0,0,0)">> The first is to have that link that Ben Gamari provided in the first 
place, which is not an obvious thing at all.</pre><pre style="white-space:pre-wrap;color:rgb(0,0,0)">I think Ben gave the wrong link[**], and it's not obvious why you'd go to such an unfriendly page at all. Should be: <a href="https://www.haskell.org/ghc/download_ghc_8_10_1.html" style="font-size:small">https://www.haskell.org/ghc/download_ghc_8_10_1.html</a>, section Windows 64-bit (x86_64).</pre><pre style="white-space:pre-wrap;color:rgb(0,0,0)">This is to download <a href="https://downloads.haskell.org/~ghc/8.10.1/ghc-8.10.1-x86_64-unknown-mingw32.tar.xz" style="background-color:rgb(255,255,255);box-sizing:border-box;color:rgb(0,123,255);text-decoration-line:none;font-family:sans-serif;font-size:16px">ghc-8.10.1-x86_64-unknown-mingw32.tar.xz</a> it's not the 'unknown' that tells you it's Windows, it's the 'w' in 'w32'.</pre><pre style="white-space:pre-wrap;color:rgb(0,0,0)">I don't know why you're downloading a `.lz`: the `.tar.xz` is a format that Windows Explorer understands [***]; just use Explorer to find that in the Downloads folder; it needs several clicks to unpack it, but by all means unpack into the Downloads folder; navigate to `\bin`; there is ghci.exe; double-click. (No need to set your path, it'll default to `\bin`; no need to call from a command line.) Indeed you can copy ghci.exe and paste as shortcut on your desktop/taskbar; set the 'Start in' as the `\bin` folder.</pre><pre style="white-space:pre-wrap;color:rgb(0,0,0)">Now fair warning: this is only the ghci executable/base compiler; no libraries/packages; no cabal, no stackage. But at least a beginner can sit at a GHCi prompt and enter some expressions; they can call `:edit` to create a `.hs` module. They can `:set editor` for a more programmer-friendly editor.</pre><pre style="white-space:pre-wrap;color:rgb(0,0,0)">[**] How did I get to that download link? (Just to show there's nothing up my sleeves)</pre><pre style="white-space:pre-wrap;color:rgb(0,0,0)">* <a href="http://haskell.org">haskell.org</a> -> Downloads -> Minimal Installers</pre><pre style="white-space:pre-wrap;color:rgb(0,0,0)">* -> 'the GHC compiler' in the section's opening sentence</pre><pre style="white-space:pre-wrap;color:rgb(0,0,0)">* you're at <a href="http://haskell.org/ghc/">haskell.org/ghc/</a>; latest release -> download </pre><pre style="white-space:pre-wrap;color:rgb(0,0,0)">* scan down the page for Windows</pre><pre style="white-space:pre-wrap;color:rgb(0,0,0)">I'm saying to ignore all that stuff about 'proper Haskell distribution'; 'Distribution packages' (not available for Windows). For a beginner it's all cruft; they can figure it out after they're using Haskell.</pre><pre style="white-space:pre-wrap;color:rgb(0,0,0)">Really this could all be a lot easier and a lot better explained and a lot more in-your-face for a beginner. I continue to take away the impression that ghc doesn't want beginners.</pre><pre style="white-space:pre-wrap;color:rgb(0,0,0)">[***] I agree a `.xz` needs 7-zip to unpack. I don't think I went so far as to obtain that first; I think it came with my Windows (8.1) install. Perhaps later Windows have it better integrated(?)</pre></div>