-
It's possible that I've done something wonky, but I have image-buttons being defined in an adapter for a GridView, and for the most part working properly. However, calling a function defined elsewher…
-
Would it be possible to put in a hook so that users could call their own print-method ? N. B. I'm still sort of new to Clojure so maybe there is something I'm missing, but what I'm doing now is essent…
-
The boot task doesn't set up tools.namespace unloading properly, instead it just reloads the affected namespaces manually using data from ns-tracker and require :reload. If I tried to use tools.names…
gtrak updated
8 years ago
-
When method extension coupled with multiple dispatch mechanism, we tend to be always find ourselves in the loop of continuing adding disambiguating methods. Seriously, this is unsustainable in the lon…
-
Take the function `map` for example:
``` clojure
(defn map
([f coll]
(.map coll | f))
([f coll & colls]
(.map (.zip coll & colls) | #(apply f %))))
```
Here's the top bit of its decoded as…
-
Right now the simulation of double dispatch is very cumbersome, you have to provide a visitor method for each derived class in the base class and so on. For example, this is what it takes to implement…
-
The proposal is do something like this:
``` clojure
;; Using protocols
(def myresource
(reify IResource
IResourceIndex
(-index [context]
(http/ok "foobar"))
IResourceShow
(-…
-
Having global options doesn't make much sense, as options can be defined on db level and there is a global default db. Options are really database specific, having global options only makes things har…
immoh updated
8 years ago
-
```
If a method of a given name is not defined in the current package source code,
but is defined in at least one directly imported package, then the method
should be callable in source code in the …
-
On https://github.com/juxt/joplin/wiki/Adding-a-new-database-type there is a list of multimethods:
- migrate-db Migrate target database described by a joplin database map.
- ...
- seed-db Migrate targ…