This page is not created by, affiliated with, or supported by Slack Technologies, Inc.
2021-07-23
Channels
- # announcements (1)
- # aws (13)
- # babashka (31)
- # beginners (102)
- # calva (46)
- # cider (16)
- # clj-kondo (1)
- # cljs-dev (3)
- # clojars (1)
- # clojure (396)
- # clojure-argentina (1)
- # clojure-australia (4)
- # clojure-europe (64)
- # clojure-nl (2)
- # clojure-uk (8)
- # clojurescript (20)
- # conjure (5)
- # cursive (4)
- # datomic (15)
- # emacs (48)
- # graalvm (69)
- # graalvm-mobile (1)
- # jobs (4)
- # jobs-rus (1)
- # lsp (6)
- # malli (15)
- # meander (2)
- # observability (11)
- # off-topic (10)
- # pathom (2)
- # portal (4)
- # re-frame (19)
- # reitit (1)
- # remote-jobs (3)
- # sci (1)
- # shadow-cljs (51)
- # tools-deps (11)
- # vim (12)
- # xtdb (13)
clojure -Sdeps '{:deps {nrepl/nrepl {:mvn/version,"0.8.3"},cider/cider-nrepl {:mvn/version,"0.26.0"}}}' -A:repl -m nrepl.cmdline --middleware "[cider.nrepl/cider-middleware]"
/bin/sh: 1: clojure: not found
Jack-in process exited. Status: 127
I did crtl+enter on the ns line and on the test will fail line but no faling test to see
oke, and do I also need to solve this error :
; Syntax error compiling at (src/rich4clojure/easy/problem_19.clj:20:1).
; Unable to resolve symbol: d in this context
(__ ["b" "c" "d"]) := d)
I'm not by the computer. But i think that might be a broken test. Can you paste the tests form here?
I think it's systematic. My translation script mangles the right side strings some times.
(def restricted [last])
(def __
(fn [list] (last list)))
(comment
)
(tests
(__ [1 2 3 4 5]) := 5
(__ (quote (5 4 3))) := 3
(__ ["b" "c" "d"]) := "d")
still I wonder if there could not be a test or whatever which tests for the reisterd part
You are welcome to file that as a feature request. For that particular problem you can add a test __ :<> last
.
The "d"
problem needs to either be fixed problem by problem, or in my translation scripts which are not part of the repo. But if you make a function that can take the :tests
from the problems in the`problems.edn` file and transform to the infix tests use in Rich 4Clojure, without mangling the "d"
and such, I’d be super happy, and we can find out a way to PR it.
@pez the Getting Started REPL didn't need this right? > https://clojurians.slack.com/archives/CBE668G4R/p1627056174057100?thread_ts=1627055144.052800&cid=CBE668G4R