Skip to main content
Filter by
Sorted by
Tagged with
Advice
0 votes
3 replies
81 views

In clojure, the println function returns a nil: \>(println "a" a nil This makes it awkward to use print to access an intermediate value when print debugging: Say I have: (* (+ 5 10) (- ...
BnMcGn's user avatar
  • 1,460
1 vote
0 answers
76 views

I am using Emacs+Cider to develop a ClojureScript project with shadow-cljs. When I am using Cider with a .clj project, everything works fine. But in shadow-cljs projects specifically, I don't get the ...
Eva's user avatar
  • 593
0 votes
1 answer
77 views

Shadow-cljs has a resource loader that can include literal files into the Clojurescript code (ns app.my (:require [shadow.resource :as rc])) (rc/inline "file.txt") I need a macro that ...
Eva's user avatar
  • 593
1 vote
1 answer
86 views

When execute the script in javascript, it is normal as expected, however, using @stoqey/ib with clojurescript unsuccessfully. Please comment how to access the constructor of @stoqey/ib with ...
madeinQuant's user avatar
  • 1,833
1 vote
1 answer
88 views

Using math.js with clojurescript unsuccessfully. Please comment how to access the function of math.js with clojurescript correctly. Error lines 1. product (math/dot v1 v2)] 2. Ainv (math/inv A)] ...
madeinQuant's user avatar
  • 1,833
0 votes
1 answer
84 views

I'm trying to use K6 with a test written in ClojureScript. K6 is written in Golang, runs a bundled JS runtime, which in turn runs tests written in JavaScript. I don't have a problem running a ...
Pavel Gurkov's user avatar
1 vote
2 answers
98 views

Using js-pytorch with clojurescript unsuccessfully. Please comment how to fix the installation issue of js-pytorch with clojurescript execute in calva-repl: (ns server.ros2 (:require ["js-...
madeinQuant's user avatar
  • 1,833
1 vote
1 answer
121 views

I am learning how to use reagent clojure and I am creating a password management application with some basic crud operations as well. Right now when I try to delete a password or use my password ...
user23641408's user avatar
1 vote
1 answer
90 views

I try to run ClojureScript "hello-world" project on Windows 10 Home 22H2 19045.4529. I follow documentation from https://clojurescript.org/guides/quick-start and get following output: C:\...
mikeeeeeee's user avatar
1 vote
2 answers
187 views

I have a problem with a code I am developing in Clojure: (ns problem2 (:require [cheshire.core :as json] [clojure.spec.alpha :as s] [invoice-spec])) (...
Luis Carlos Castillo Martin's user avatar
2 votes
2 answers
111 views

I am currently trying to use TailWindElements-React in Clojure Script. In JS an example would look like this: import React, { useState } from "react"; import { TECollapse, TERipple } from &...
Burning_Beef's user avatar
0 votes
1 answer
102 views

I am currently trying to use TailWindElements-React in Clojure Script. In JS an example would look like this: import React, { useState } from "react"; import { TECollapse, TERipple } from &...
Burning_Beef's user avatar
1 vote
1 answer
102 views

How do you index and count items within an indexed map? Here's an example - I have example JSON data that looks like this - [ { "id" : "z1", "content_type" : "...
txesc's user avatar
  • 31
2 votes
3 answers
149 views

I like ClojureScript, but to interop between CLJS and Javascript is difficult. I would like to create a function that can perform date culculations in arbitrary units, such as the following. But this ...
hata's user avatar
  • 197
0 votes
1 answer
116 views

In Clojure REPL: (macroexpand-1 `(sum 2 1)) ; (user/sum 2 1) In Clojurescript REPL: (macroexpand-1 `(sum 2 1)) ; AssertionError: Assert failed: Argument to macroexpand-1 must be quoted Why it ...
rusfrompiter's user avatar

15 30 50 per page
1
2 3 4 5
155