Skip to content

Instantly share code, notes, and snippets.

View 23Skidoo's full-sized avatar

Mikhail Glushenkov 23Skidoo

View GitHub Profile

[ANN] Cabal 3.2 Release

Cabal 3.2 has finally been released, including a whole host of bug fixes, new features, and other goodies. You can find the project Changelog on github if you want the rest of the changeset between this version and Cabal 3.0.

In this post, we'll go over some of the highlights in this release, as well as detail some upcomings line items and milestones for future planned work on the library.

Highlights & Bugfixes

@23Skidoo
23Skidoo / AFTER
Created February 5, 2020 22:37
Benchmarks for base64-bytestring/pull/26
benchmarking lazy/small/normal/decode
time 161.4 ns (161.1 ns .. 161.8 ns)
1.000 R² (1.000 R² .. 1.000 R²)
mean 162.2 ns (161.3 ns .. 166.0 ns)
std dev 5.041 ns (1.065 ns .. 11.34 ns)
variance introduced by outliers: 47% (moderately inflated)
benchmarking lazy/small/normal/decodeLenient
time 351.8 ns (351.3 ns .. 352.5 ns)
1.000 R² (1.000 R² .. 1.000 R²)
{-# LANGUAGE AllowAmbiguousTypes #-}
{-# LANGUAGE TypeApplications #-}
{-# LANGUAGE ScopedTypeVariables #-}
{-# LANGUAGE MultiParamTypeClasses #-}
{-# LANGUAGE FlexibleContexts #-}
import Control.Monad
data MobileField = MobileField String
data EmailField = EmailField String
@23Skidoo
23Skidoo / Cabal-2.4-contributors
Created November 9, 2018 23:07
Contributors to the Cabal 2.4 release
7 Alec Theriault
12 Alex Biehl
9 Alex Washburn
2 Alexander Vershilov
103 Alexis Williams
2 Bardur Arantsson
5 Ben Gamari
2 Daniel Díaz Carrete
1 Daniel Gröber
3 David Himmelstrup
@23Skidoo
23Skidoo / CONTRIBUTORS
Last active September 8, 2017 06:59
Cabal/cabal-install 2.0 contributors
574 Edward Z. Yang
268 Mikhail Glushenkov
181 Duncan Coutts
147 Kristen Kozak
93 Herbert Valerio Riedel
81 Oleg Grenrus
35 John Ericson
31 Edsko de Vries
31 Thomas Tuegel
22 Bardur Arantsson
@23Skidoo
23Skidoo / ekg-core.log
Created July 31, 2017 14:25
ekg-core: new warnings in GHC 8.2.1
System/Metrics.hs:414:55: warning: [-Wdeprecations]
In the use of ‘bytesAllocated’ (imported from GHC.Stats):
Deprecated: "Use RTSStats instead. This will be removed in GHC 8.4.1"
|
414 | [ ("rts.gc.bytes_allocated" , Counter . Stats.bytesAllocated)
| ^^^^^^^^^^^^^^^^^^^^
System/Metrics.hs:415:55: warning: [-Wdeprecations]
In the use of ‘numGcs’ (imported from GHC.Stats):
Deprecated: "Use RTSStats instead. This will be removed in GHC 8.4.1"
@23Skidoo
23Skidoo / build.log
Created April 24, 2017 11:16
Build log for bloodhound-0.12.1.0 against aeson 1.2
$ cabal new-build --enable-test --allow-newer=aeson
In order, the following will be built (use -v for more details):
- aeson-1.2.0.0 (lib) (requires build)
- case-insensitive-1.2.0.9 (lib) (requires download & build)
- code-page-0.1.3 (lib) (requires download & build)
- generics-sop-0.2.5.0 (lib) (requires download & build)
- ghc-paths-0.1.0.9 (lib:ghc-paths) (requires build)
- hspec-discover-2.3.2 (lib) (requires build)
- hspec-expectations-0.8.2 (lib) (requires build)
- quickcheck-io-0.1.4 (lib) (requires build)
@23Skidoo
23Skidoo / Cata.hs
Created March 9, 2017 20:46
Hoodlums 9/03/2017
{-# LANGUAGE DeriveFunctor #-}
{-# LANGUAGE DeriveFoldable #-}
{-# LANGUAGE PatternSynonyms #-}
{-# LANGUAGE StandaloneDeriving #-}
{-# LANGUAGE UndecidableInstances #-}
{-# LANGUAGE ViewPatterns #-}
module Cata where
import Data.Foldable
@23Skidoo
23Skidoo / v3.log
Created February 7, 2017 09:07
'cabal install QuickCheck idris -v3 --dry-run' log for https://github.com/haskell/cabal/issues/4296
no user package environment file found at /home/refold
Searching for ghc in path.
Found ghc at /opt/ghc/bin/ghc
("/opt/ghc/bin/ghc",["--numeric-version"])
/opt/ghc/bin/ghc is version 8.0.2
looking for tool ghc-pkg near compiler in /opt/ghc/bin
candidate locations:
["/opt/ghc/bin/ghc-pkg","/opt/ghc/8.0.2/bin/ghc-pkg-ghc-8.0.2","/opt/ghc/8.0.2/bin/ghc-pkg-8.0.2","/opt/ghc/8.0.2/bin/ghc-pkg"]
found ghc-pkg in /opt/ghc/bin/ghc-pkg
("/opt/ghc/bin/ghc-pkg",["--version"])
@23Skidoo
23Skidoo / integration-test.log
Created February 2, 2017 12:57
Failing cabal-install integration test
..\cabal test integration-tests --show-details=streaming --test-option=--pattern=!exec --test-option=--hide-successes
Preprocessing test suite 'integration-tests' for cabal-install-1.25.0.0...
Generating manual page dist\build\cabal/cabal.1 ...
Running 1 test suites...
Test suite integration-tests: RUNNING...
Integration Tests
internal-libs
new_build.sh (ignoring stdout+stderr): FAIL (4.58s)
Unexpected exit status.