Notices: This section not yet converted to new layout. Download stats are rolling back out.

GHC

8.6.3

Package test results are passing.

This package was approved as a trusted package on 12/8/2018.

Highlights:
• GHC supports the entire Haskell 2010 language plus a wide variety of extensions.
• GHC has particularly good support for concurrency and parallelism, including support for Software Transactional Memory (STM).
• GHC generates fast code, particularly for concurrent programs. Take a look at GHC's performance on The Computer Language Benchmarks Game.
• GHC works on several platforms including Windows, Mac, Linux, most varieties of Unix, and several different processor architectures. There are detailed instructions for porting GHC to a new platform.
• GHC has extensive optimisation capabilities, including inter-module optimisation.
• GHC compiles Haskell code either directly to native code or using LLVM as a back-end. GHC can also generate C code as an intermediate target for porting to new platforms. The interactive environment compiles Haskell to bytecode, and supports execution of mixed bytecode/compiled programs.
• Profiling is supported, both by time/allocation and various kinds of heap profiling.
• GHC comes with several libraries, and thousands more are available on Hackage.

There's an important change to path handling for Windows starting with 8.6.1.
These changes mean that Haskell programs are no longer constraint to MAX_PATH. So passing a long path to openFile will just work.
There are a few caveats to this such as you can't access COM devices via COM1 etc anymore and instead need to use the full path \\.\COM1 etc.
This is all documented https://downloads.haskell.org/~ghc/8.6.2/docs/html/users_guide/win32-dlls.html#windows-file-paths

To install GHC, run the following command from the command line or from PowerShell:

C:\> choco install ghc

To upgrade GHC, run the following command from the command line or from PowerShell:

C:\> choco upgrade ghc

Files

Hide
  • tools\chocolateyInstall.ps1 Show
    $version     = '8.6.3'
    $packageName = 'ghc'
    $url         = 'https://downloads.haskell.org/~ghc/8.6.3/ghc-8.6.3-i386-unknown-mingw32.tar.xz'
    $url64       = 'https://downloads.haskell.org/~ghc/8.6.3/ghc-8.6.3-x86_64-unknown-mingw32.tar.xz'
    
    $binRoot         = $(Split-Path -parent $MyInvocation.MyCommand.Definition)
    $packageFullName = Join-Path $binRoot ($packageName + '-' + $version)
    $binPackageDir   = Join-Path $packageFullName "bin"
    
    $tmpPath = Join-Path $env:chocolateyPackageFolder tmp
    $tarFile = $packageName + "Install"
    $tarPath = Join-Path $tmpPath $tarFile
    $tmpFile = Join-Path $binRoot ($tarFile + "~")
    
    Get-ChocolateyWebFile -PackageName $packageName -FileFullPath $tarPath `
        -Url $url -ChecksumType sha256 -Checksum 6d221bde8e1864dab0ac121b11bae486bbbeea161b0a2591d22c4c3e322b3590 `
        -Url64bit $url64 -ChecksumType64 sha256 -Checksum64 2fec383904e5fa79413e9afd328faf9bc700006c8c3d4bcdd8d4f2ccf0f7fa2a
    Get-ChocolateyUnzip -fileFullPath $tarPath -destination $binRoot
    Get-ChocolateyUnzip -fileFullPath $tmpFile -destination $binRoot
    rm $tmpFile # Clean up temporary file
    
    Install-ChocolateyPath "$binPackageDir"
    
    Write-Host "Hiding shims for `'$binRoot`'."
    $files = get-childitem $binRoot -include *.exe -recurse
    
    foreach ($file in $files) {
        #generate an ignore file
        New-Item "$file.ignore" -type file -force | Out-Null
    }

Virus Scan Results

In cases where actual malware is found, the packages are subject to removal. Software sometimes has false positives. Moderators do not necessarily validate the safety of the underlying software, only that a package retrieves software from the official distribution point and/or validate embedded software against official distribution point (where distribution rights allow redistribution).

Chocolatey Pro provides runtime protection from possible malware.

Dependencies

Package Maintainer(s)

Software Author(s)

  • GHC Team

Copyright

Copyright 2017, The University Court of the University of Glasgow.

Tags

Release Notes

https://github.com/ghc/ghc/blob/ghc-8.6/docs/users_guide/8.6.3-notes.rst

Version History

Version Downloads Last updated Status
GHC 8.6.2 614 Tuesday, November 6, 2018 approved
GHC 8.6.1.1 1574 Saturday, September 22, 2018 approved
GHC 8.6.1-beta1 49 Saturday, August 11, 2018 approved
GHC 8.6.1-alpha2-1 72 Tuesday, July 17, 2018 approved
GHC 8.6.1-alpha1 50 Saturday, June 30, 2018 approved
GHC 8.4.4 540 Tuesday, October 16, 2018 approved
GHC 8.4.3 2673 Tuesday, May 29, 2018 approved
Show More

Discussion for the GHC Package

Ground rules:

  • This discussion is only about GHC and the GHC package. If you have feedback for Chocolatey, please contact the google group.
  • This discussion will carry over multiple versions. If you have a comment about a particular version, please note that in your comments.
  • The maintainers of this Chocolatey Package will be notified about new comments that are posted to this Disqus thread, however, it is NOT a guarantee that you will get a response. If you do not hear back from the maintainers after posting a message below, please follow up by using the link on the left side of this page or follow this link to contact maintainers. If you still hear nothing back, please follow the package triage process.
  • Tell us what you love about the package or GHC, or tell us what needs improvement.
  • Share your experiences with the package, or extra configuration or gotchas that you've found.
  • If you use a url, the comment will be flagged for moderation until you've been whitelisted. Disqus moderated comments are approved on a weekly schedule if not sooner. It could take between 1-5 days for your comment to show up.

comments powered by Disqus
Chocolatey.org uses cookies to enhance the user experience of the site.
Ok