Martin Janiczek

Results 115 comments of Martin Janiczek

I have more copies of `nTimes` around my codebases than I'm comfortable admitting. I'd be fine with having these functions in core-extra, even if some of them are a bit...

I think it needs to boil down to what you see this package as: is it opinionated and contains only functions that you can vouch for, or is it a...

Just want to put myself forward - would be interested in helping out with adding property (randomized) tests to swift-testing in case there's a demand for it. Some credentials: I've...

``` Parser.succeed x |. p -> p ``` is not a valid simplification. You'd lose the x and instead use result of p that was previously skipped. Maybe you meant...

This was raised in the Slack thread as well, but: I think the `Parser.succeed () |. p -> p` and `Parser.succeed identity |= p -> p` rules might be controversial...

As @lue-bird showed, having the un-simplified `succeed`-ful expression makes it easier to add `|.` or `|=` lines before / after the parsed thing, and has some value, even though having...

I've only found one example in my own code: https://github.com/cara-lang/compiler/blob/72baa5f9a8239e6f111e1cf98d3a68ed10e3ee2a/src/Parser.elm#L2564 ```elm Parser.succeed (\right -> BinaryOp left RangeInclusive right) |> Parser.keep (Parser.lazy (\() -> exprAux precedence isRight)) ``` I think I'd...

@miniBill You can imagine it being ```elm Parser.succeed identity |> Parser.keep (Parser.lazy (\() -> exprAux precedence isRight)) ``` changing into ```elm Parser.lazy (\() -> ...) ```

Another case of SIGSEGV in `bend run-c`, on Mac M1 Pro: ```py def testArrayMapArrayNonrecursive(_): * = lambda x: x+1 return 1 def main(): return 1 ``` Interestingly, either removing the...

I just hit probably the same problem. In the first Difference problem, the smallest falsifiable example for `(x,y) -> x < 10 || x == y` should be `(10,0)`, right?...