This page is not created by, affiliated with, or supported by Slack Technologies, Inc.
- # adventofcode (2)
- # announcements (11)
- # babashka (48)
- # beginners (332)
- # calva (73)
- # cider (2)
- # clj-kondo (11)
- # cljfx (15)
- # clojure (23)
- # clojure-austin (1)
- # clojure-europe (42)
- # clojure-france (3)
- # clojure-nl (5)
- # clojure-taiwan (1)
- # clojure-uk (44)
- # clojurescript (25)
- # conjure (30)
- # cursive (3)
- # data-science (1)
- # fulcro (12)
- # jobs (3)
- # kaocha (1)
- # malli (2)
- # off-topic (49)
- # pathom (21)
- # pedestal (13)
- # re-frame (3)
- # reitit (1)
- # remote-jobs (1)
- # shadow-cljs (3)
- # sql (11)
- # startup-in-a-month (4)
- # tools-deps (113)
- # xtdb (16)
- # yada (6)
Sometimes I want to disable the hud but
let g:conjure#log#hud#enabled = false is giving me an error. What should I be inputting?
Or I think
0 might be okay too? I think
v:true basically map to
Hmm the entire body of
display-hud is wrapped in
(when (config.get-in [:log :hud :enabled])
Yeah, I tried v:false again and it worked so I probably did something wrong the first time. Sorry about that
I'm trying to run
ConjureCljRunAlternateNsTests but it is saying no ns found. I used
clj-new to create the project. So the source file is at
src/chase_lambert/scratch.clj with a namespace of
chase-lambert.scratch and the test is at
test/chase_lambert/scratch_test.clj with the ns
chase-lambert.scratch-test . The error says
No namespace: chase-lambert.scratch-test found
You need to eval the test buffer, it doesn't do that for you just in case there's side effects you don't want executed
Hmm, not sure what order I did things in but when I went to the test file and evaluated the buffer, then I started getting all the expected behavior.
I've been considering going through the SICP book sometime soon at my leisure but will stick with it's use of Scheme. I noticed Racket has an SICP dsl. Since Conjure can do Racket I am curious if you think that would work?
^I tried that recently. It... didn't work. I think the issue is that Conjure starts a Racket REPL for you in a subprocess, but for the SICP library
neil/sicp, which provides
#lang sicp to work, you have to run
racket -i -p neil/sicp -l xrepl. It wasn't clear to me whether it's possible to get Conjure to do that when it starts the Racket REPL for you.
I’ve been using
racket -i -l xrepl -I sicp as the startup command for https://github.com/Olical/vim-scheme. (so you don’t need the
#lang in the file) However it doesn’t work with Conjure when I change
The result of eval doesn’t appear in the repl.
I assume it’s because the default
racket command implicitly adds some arguments. So what arguments do I need to add for Conjure to work?
I think it's because it prints different prompt strings which I use to identify the boundary between results. I just need to make that configurable too I think think!
And you really need
#lang sicp, because otherwise all the code examples don't work because Racket itself doesn't have a bunch of functions like
inc that the book assumes are in your Scheme environment.