J. B. Rainsberger

Results 24 issues of J. B. Rainsberger

I notice that `Collections.groupBy()` creates a `LinkedHashMap`, which preserves insertion order when classifying items by their new key. Is this intended to be guaranteed or is it merely an accident...

My apologies if you've already discussed this to death; just let me know. I ran into this today. ``` var fallback = ...; myOption.fold(fallback::g, null); ``` I was in a...

design/refactoring/improvement
help wanted

Example: ``` @Test public void shouldApplyThrowingCheckedConsumer() { final CheckedConsumer f = t -> { throw new Error(); }; try { f.accept(null); fail("should have thrown"); } catch(Throwable x) { // ok...

I like `Option.when()`. I would also like `Either.when()`. Please consider it. I would add it myself, but I don't have the energy right now. I might try later. ``` Either.when(boolean...

I'm at best an Advanced Beginner, so maybe this is something simple that I merely need to learn. I am aggregating information for nested collections using `flatMap()`. I later want...

- [x] Searched existing issues to avoid creating duplicates. - [x] Confirmed that it can be reproduced in built-in themes without customized css. - [x] Searched http://support.typora.io/ ---- **Describe the...

i18n

I typically want to write Markdown content inside a `div` or `p`. Currently, I do this: ``` Write a _bunch_ of **wonderful** Markdown! ``` I would love it if Typora...

enhancement
hybrid editing

Fixes https://github.com/stedolan/jq/issues/2467

Fixes https://github.com/stedolan/jq/issues/2466

I love jq. Thank you. I read the section of the Manual on `map()` and `map_values()`, and although I eventually believe I understand it, I found it hard to grasp...