I hereby claim:
- I am danburton on github.
- I am danburton (https://keybase.io/danburton) on keybase.
- I have a public key ASDWfyHJVknV_V0NtnjEH6bguSeVgQl9e7cEZuH2YLFOWQo
To claim this, I am signing this object:
| VERSION='9.4.1-rc1' | |
| # Note: this ghc version requires stack 2.7.3 or newer to install correctly | |
| cd /tmp | |
| mkdir ghc-test && cd ghc-test | |
| wget "https://raw.githubusercontent.com/DanBurton/stack-setup-info-gen/master/output/stack-ghc-$VERSION.yaml" | |
| mv "stack-ghc-$VERSION.yaml" stack.yaml | |
| stack setup | |
| stack repl |
| VERSION=8.10.1-alpha1 | |
| cd /tmp | |
| mkdir ghc-test && cd ghc-test | |
| wget https://raw.githubusercontent.com/DanBurton/stack-setup-info-gen/master/output/stack-ghc-$VERSION.yaml | |
| mv stack-ghc-$VERSION.yaml stack.yaml | |
| ### debian/ubuntu users, depending on your version, may need to modify stack.yaml as follows, sorry | |
| ### sed -i 's/20191121/20191123/g' stack.yaml | |
| ### Alternatively, just don't use match-exact? (Untested) | |
| stack setup | |
| stack repl |
| VERSION=8.8.1-rc1 | |
| cd /tmp | |
| mkdir ghc-test && cd ghc-test | |
| wget https://raw.githubusercontent.com/DanBurton/stack-setup-info-gen/master/output/stack-ghc-$VERSION.yaml | |
| mv stack-ghc-$VERSION.yaml stack.yaml | |
| stack setup | |
| stack repl |
| VERSION=8.8.1-alpha2 | |
| cd /tmp | |
| mkdir ghc-test && cd ghc-test | |
| wget https://raw.githubusercontent.com/DanBurton/stack-setup-info-gen/master/output/stack-ghc-$VERSION.yaml | |
| mv stack-ghc-$VERSION.yaml stack.yaml | |
| stack setup | |
| stack repl |
I hereby claim:
To claim this, I am signing this object:
| cd /tmp | |
| mkdir ghc-test && cd ghc-test | |
| wget https://raw.githubusercontent.com/DanBurton/stack-setup-info-gen/master/output/stack-ghc-8.8.1-alpha1.yaml | |
| mv stack-ghc-8.8.1-alpha1.yaml stack.yaml | |
| stack setup | |
| stack repl |
| self: super: | |
| let | |
| r = rec { | |
| # addExtendo : haskellPackages -> extension | |
| addExtendo = newHp: _: _: { | |
| extendo = hpExtendo newHp; | |
| }; | |
| # hpExtendo : haskellPackages -> extension -> haskellPackages | |
| # performs the extension, and also performs the addExtendo extension afterwards. | |
| hpExtendo = hp: extension: |
| {-# LANGUAGE ScopedTypeVariables, TypeApplications #-} | |
| import Data.Int (Int32, Int64) | |
| fromIntegralMay :: forall b a. (Bounded b, Integral a, Integral b) => a -> Maybe b | |
| fromIntegralMay a | a > fromIntegral (maxBound @b) || a < fromIntegral (minBound @b) = Nothing | |
| fromIntegralMay a = Just (fromIntegral a) | |
| justMin = fromIntegralMay @Int32 (-2147483648 :: Int64) | |
| justMax = fromIntegralMay @Int32 (2147483647 :: Int64) |
| #lang typed/racket | |
| (require (for-syntax syntax/parse)) | |
| (require typed/net/url) | |
| (require racket/control) | |
| (require/typed xml | |
| [xexpr->string (Xexpr -> String)]) | |
| # Generated from https://gist.github.com/DanBurton/5b7fc5fae1ebfdc5bcaecfbac15d2903 | |
| setup-info: | |
| ghc: | |
| windows32: | |
| 8.6.0.20180810: | |
| url: https://downloads.haskell.org/~ghc/8.6.1-beta1/ghc-8.6.0.20180810-i386-unknown-mingw32.tar.xz | |
| sha256: 9be35662d510d3489ddd583e7d9d38ee6b6ba40b852f6e90e0dfd97a0d7bbfd3 | |
| linux32-nopie: | |
| 8.6.0.20180810: |