This page is not created by, affiliated with, or supported by Slack Technologies, Inc.
2022-07-25
Channels
- # announcements (9)
- # babashka (38)
- # beginners (41)
- # biff (1)
- # clojure (19)
- # clojure-europe (7)
- # clojure-uk (2)
- # clojurescript (3)
- # code-reviews (30)
- # conjure (4)
- # cursive (8)
- # datomic (32)
- # docker (2)
- # emacs (7)
- # etaoin (2)
- # fulcro (37)
- # graphql (2)
- # jobs (1)
- # jobs-discuss (8)
- # leiningen (10)
- # lsp (36)
- # meander (4)
- # missionary (4)
- # nbb (12)
- # off-topic (1)
- # other-languages (10)
- # pathom (11)
- # re-frame (5)
- # reitit (4)
- # remote-jobs (3)
- # shadow-cljs (13)
- # sql (1)
- # tools-build (4)
- # tools-deps (31)
- # xtdb (2)
Good morning! I'm trying to use https://cljdoc.org/d/funcool/promesa/8.0.450/doc/user-guide#plet from promesa without much success.
(ns example
;(:require-macros [promesa.core :refer [plet]])
(:require [promesa.core :as p]))
(p/plet [a (p/resolved 1)
b (p/resolved 2)]
(println (+ a b)))
Running the above results in
$ nbb example.cljs
----- Error --------------------------------------
Message: Could not resolve symbol: plet
Phase: analysis
Could not resolve symbol: plet
All the other functions and macros from promesa seems to be available, so I'm not sure what I'm doing wrong.
Any ideas?Right. We don't have that yet but an issue + optional PR is welcome. For now I think you could just use let + p/all?
ahh gotcha! yes, it does! Both solutions are good for me :thumbsup: Thanks! Just thought I was doing something wrong! I will create an issue and look into a PR too. Do you think that's something feasible for a beginner in clojure/clojurescript?
bun FFI + libncurses: https://twitter.com/borkdude/status/1551681759716282369
Bun + blipgloss (a CLI library built in go, via bun ffi): https://twitter.com/borkdude/status/1551685556106629125