funcool / funcool/cats

Error printing return value of try monad in REPL

Open
#232 3 comments 0 reactions 0 assignees View on GitHub
Dominant language
Clojure
Stars
970
Forks
68
PR merge metrics
No merged PRs in 30d

Description

Using cats in CIDER + nREPL yields:

```
;; CIDER 0.22.0snapshot (package: 20190326.1752), nREPL 0.6.0
;; Clojure 1.10.0, Java 1.8.0_201

user> (require '[cats.monad.exception :as exc])
(exc/try-on 1)
nilError printing return value (IllegalArgumentException) at clojure.lang.MultiFn/findAndCacheBestMethod (MultiFn.java:179).
Multiple methods in multimethod 'simple-dispatch' match dispatch value: class cats.monad.exception.Success -> interface clojure.lang.IDeref and interface clojure.lang.IPersistentMap, and neither is preferred
```

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.