Bertram Felgenhauer

Results 15 comments of Bertram Felgenhauer

Here's a potential source for inspiration: https://gist.github.com/int-e/36578cb04d0a187252c366b0b45ddcb6#file-intmapfal-hs-L20-L45

For the record, I tried the stupid `fromAscList . sort` and it was terrible, more than two times slower than `fromList`.

Note that `fromAscList` is implemented in terms of `fromAscListWithKey`, ```haskell -- abridged from Data.Map.Strict.Internal fromAscList :: Eq k => [(k,a)] -> Map k a fromAscList xs = fromAscListWithKey (\_ x...

@infinity0: I see only one failing test and that was added in b64a103e428cb57bfe1837ca5fcdaf2d5efa4f8a, testing for extra thunks left behind by `Data.IntMap.Lazy.fromAscList` (the test group says `IntMap.Strict`, that's a typo). #658...

The `hasValidHaddockTargets` predicate is defined as ```haskell hasHaddocks = not (null (elabPkgDescription ^. componentModules name)) ``` Arguably, it's the `componentModules` getter (of which at the time of writing `hasHaddocks` is...