Oleg Grenrus
Oleg Grenrus
E.g. [Simon Marlow said to me](https://github.com/simonmar/async/issues/151#issuecomment-1770564572) > I think you might have a different interpretation of "Module encapsulation" than the intended one. Safe Haskell only promises that the semantics of...
... if implemented used no-constraint map_NP. Solves old TODO comment. all_POP is much more useful if it doesn't have the constraint requirement.
For example, `zipList_NP` requires `SListI`: ```haskell zipWith_NP :: SListI xs => (forall a. f a -> g a -> h a) -> NP f xs -> NP g xs ->...
When making `cabal haddock --haddock-for-hackage`, the `.tar.gz` package is produced. If I upload it manually to Hackage, > I get For this resource the content-type was expected to be application/x-tar,...
![Screenshot from 2023-05-23 17-38-04](https://github.com/haskell/hackage-server/assets/51087/8b89fe49-520b-4948-a3f0-7d84de43823e)
cabal can not find pkg-config even though the right directory has been added to the extra-prog-path
This happens on windows, where `pkg-config` is in mingw path, but not in global `PATH`. And there are good reasons to not add mingw-path to global $PATH (hint: it will...
... however with CApiFFI, GHC will invoke C-compiler which may end up compile a large non-trivial amount of code (e.g. `CApiFFI` is a way to use header only libraries, without...
```haskell Prelude Data.Attoparsec.Text Data.Text> fmap signum (parseOnly decimal (Data.Text.replicate 100000 "9") :: Either String Integer) Right 1 (0.32 secs, 4,286,165,576 bytes) Prelude Data.Attoparsec.Text Data.Text> fmap signum (parseOnly decimal (Data.Text.replicate 200000...
There is ```haskell shortByteString :: ShortByteString -> Builder ``` but sometimes we want to write only a part of a SBS, i.e. ```haskell partOfShortByteString :: Int {- ^ offset -}...
This runs Builder to produce Strict ByteString directly, by making a mutable buffer and growing it exponentially. This might be good or bad, better or worse than LBS.toStrict . encodingToLazyByteString....