Jaro
Jaro
Today [Competitive_Ad2539 on Reddit asks why type inference fails for this code](https://reddit.com/r/haskellquestions/comments/sp9u4a/why_did_the_type_inference_failed_here/): ```haskell showLine = (++ "\n") . concat ``` The error message is (with GHC 9.2.1 and 9.0.2): ```...
[A recent question on stackoverflow](https://stackoverflow.com/q/71283895/15207568) concerns adding dependencies to the cabal file. The error suggests adding a dependency to the `build-depends` field: ``` src\Main.hs:3:2: error: Could not load module `Text.ParserCombinators.Parsec'...
A Titular_Hero on stack overflow [reports the following code snippet](https://stackoverflow.com/q/71339444): ```haskell import Data.List encode [] = [] encode ls = zip((map head list), (map length list)) where list = group...
The documentation for `Mu` says: "Efficient folding." and the documentation for `Nu` says: "Efficient unfolding." What does efficient mean in this case? Does it have to do with fusion or...
I wanted to quickly write an example of a handler in an effect system and I have been recommending effectful, so I thought why not use that in the example....
We cannot always be 100% sure, but it would be nice to check what we can.
If one alternative succeeds and performs an ascend and later another alternative from the same recursion depth finds a loop then the combination of that ascend and loop is missed....
If we ever push an empty continuation to the stack then we will get into an infinite loop. That can happen in cases like this: ```haskell emptyk :: Parser ()...
I think there is a lot of low hanging fruit for optimization of gigaparsec. For example: - [ ] Use `Text` or even `Addr#` instead of `String`. - [ ]...