Jaro

Results 90 issues of 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): ```...

tool:GHC
type:error-message
status:Composing error message

[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'...

tool:GHC
tool:cabal
type:error-message
status:Composing error message

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...

tool:GHC
type:error-message
status:Composing error message

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.

enhancement

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....

bug

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 ()...

bug

I think there is a lot of low hanging fruit for optimization of gigaparsec. For example: - [ ] Use `Text` or even `Addr#` instead of `String`. - [ ]...

good first issue
implementation