Max Hallinan
Max Hallinan
@jameshaydon I'm interested in working on this. Should the fallback value be an optional last argument: `(lookup :foo { :bar #t } #f) ;; ==> #f`?
I'm not sure how I got confused here - I think your intention is obvious from the title :) I see two approaches to destructuring with a default value. The...
>The problem with { :a :b ?= "B" } is that it will parse as a rather bizarre dict (with two keys, :a and ?=). You're right - I overlooked...
@jameshaydon sounds good! I'll implement this as described above.
Hey @jkarni , is there a reason that `foldr-string` hasn't been implemented? It seems straightforward, which makes me wonder if I'm overlooking something. I'd be happy to add this.
Sounds good!
@sindresorhus sorry to bug you about this. Any thoughts?
@SamVerschueren thanks for commenting. I agree that using `.catch` is not problematic in the sense that it's easy to do and it works. But by using `.catch`, I duplicate the...
Probably an error on my part. This works: ```javascript const name: ({ name: string, }) => string = propOr('', 'name'); ```
At the moment, I'm using Raw when I need to read the request body. So those parts of the API contract are not represented in the type. It sounds like...