thielema
thielema
similar: https://hackage.haskell.org/package/utility-ht-0.0.17.1/docs/Data-List-Match.html#v:compareLength A simple implementation would be: ~~~~ compareLength :: [a] -> Int -> Ordering compareLength xs n = compare (void xs) (replicate n ()) ~~~~
There seem to be three sensible functions with this name: ~~~~ compareLength_L :: Int -> [a] -> Ordering compareLength_R :: [a] -> Int -> Ordering compareLength_C :: [a] -> [a]...
I thought it would be an easy addition since `Aregister.hs` already contains out-commented `cumulative` and `historical` options and `Register.hs` already supports `cumulative` totals. However, after adding the options they are...
On Thu, 7 Mar 2024, Mango The Fourth wrote: > All of these have problems: > > 1. Problems of the functions currently in base: > * undefined: > +...
On Thu, 7 Mar 2024, Mango The Fourth wrote: > @thielema: > > yes you can generate these warnings with hlint and yes there are > external tools that may...
On Thu, 7 Mar 2024, Mango The Fourth wrote: > Additionally to the named above reasons there's also a technical reason > that just came to my mind: add a...
On Thu, 7 Mar 2024, Morrow wrote: > This is your monthly public service reminder that adding stuff to base is not free either > (although it may be a...
alternative could be doctest-extract
Strange. Travis reports wrong position of Tested-With at line 60, but I have moved it away from there.
> `cabal repl --constraint "gloss source" --constraint "gloss +GLWF -GLUT"` Never knew this syntax. Looks like advanced Cabal usage. So far I use a cabal sandbox, and I guess nix-style...