Neil Mitchell
Neil Mitchell
We've been using zstd-0.11.1 for a while very successfully. We just moved to 0.11.2 after you released it, and got 12 lines with the theme: ``` /var/twsvcscm/cargo-target-ci/debug/deps/libzstd_safe-1c2b20d8128233c4.rlib(zstd_safe-1c2b20d8128233c4.zstd_safe.d0b350dc-cgu.3.rcgu.o): In function `::drop':...
Currently it doesn't document whether the path is absolute or relative. In my testing on Linux with INotify it's absolute. Is that an invariant I can rely on? I think...
I'd really like the function `hash :: a -> Int`, since that's how I usually want to use it (or taking a salt argument, for even better compatibility with `Hashable`)....
The current process library has a lot of functions, confusion over binary, lots of complex code if you want to build on it etc. Foundation could be a new hope...
Foundation seems to be a big catch-all library. I think it would add value if you explicitly stated what you don't think foundation should do. For example, should foundation deal...
XML parsing
I have a need to do XML parsing, both SAX (streaming tags) and structured tree data. Basing this on Foundation would be ideal. Does anyone have any plans in that...
Specifically, you can't do https://github.com/haskell-foundation/foundation/blob/b56a79c7aeef7c57969b7fb2e3027dfbfa7841a0/Foundation/Primitive/FinalPtr.hs#L74. as GHC is at it's liberty to compile that function to: ``` withFinalPtr (FinalPtr (Ptr addr)) f = do r
As it stands, things like `cons`, `snoc` and `sortBy` are all in SemiOrdered, but seem to require ordering... Examples of where Set's (for example) live would be useful.
subtract is not `flip (-)`. `^^` seems a little redundant normally to me, and especially in this new world.
Should reexport the nice Partial stuff, plus some partial functions, e.g. fromJust.