Noah Bogart
Noah Bogart
Back again with another odd interaction! Test code: ``` test = [x + 1 for x in range( 2 * 2)] ``` Move the cursor to the first line and...
When comparing two objects where the first is a Record and the second is a sequence, `remove` will execute the `:else` of the cond, calling `empty` on the record, which...
There is no test for `handler-case` when `:no-error` is defined and an error is thrown, demonstrating that the `:no-error` handler is not executed. Example from the repl: ```lisp CL-USER> (let...
**What's the output of `:CocInfo`** ``` ## versions vim version: NVIM v0.7.2 node version: v16.15.0 coc.nvim version: 0.0.81-2522eee5 2022-06-14 19:03:29 +0800 coc.nvim directory: /home/noah/.local/share/nvim/site/pack/packer/start/coc.nvim term: xterm-256color platform: linux ``` **What's...
Hey there! I feel like the current workflow for using a given project's `.zprintrc` doesn't work well when dealing with multiple open source projects and contributors. I'm trying to use...
`while` has no special formatting currently, so it currently attempts to hang the body: ```clojure (def a (atom 10)) (while (pos? @a) (println @a) ;; comment to not put on...
### Situation Currently, modeling polymorphic associations is pretty simple, as demonstrated in [GETTING_STARTED.md](https://github.com/thoughtbot/factory_bot/blob/master/GETTING_STARTED.md#polymorphic-associations). However, I have a polymorphic association using the [Exclusive Belongs To/Exclusive Arc](https://hashrocket.com/blog/posts/modeling-polymorphic-associations-in-a-relational-database) method (also seen [here](https://medium.com/@adamlangsner/4-ways-to-model-polymorphic-relationships-in-rails-5-4c98101ed900) using...
I couldn't determine what the purpose of the Null Strategy is, given that it's only used in the `AttributesFor#association` and simply returns `nil`. I tried substituting that method call for...
I have a map of keyword to function, and the functions are hash-quoted as vars so they can be reloaded at the repl: ```clojure (def example {:a #'a :b #'b})...
As discussed on slack, Clojure now supports [destructuring maps as key-value pairs](https://clojure.org/news/2021/03/18/apis-serving-people-and-programs) in parameter lists: `[& {:as m :keys [id before after]}]` can be used as both `(f {:id 1...