This page is not created by, affiliated with, or supported by Slack Technologies, Inc.
2022-01-04
Channels
- # aleph (1)
- # asami (6)
- # babashka (44)
- # beginners (20)
- # calva (6)
- # circleci (1)
- # clj-kondo (2)
- # cljdoc (2)
- # clojure (184)
- # clojure-europe (13)
- # clojure-nl (4)
- # clojure-spain (1)
- # clojure-uk (4)
- # clojurescript (35)
- # code-reviews (1)
- # conjure (3)
- # core-async (60)
- # core-logic (1)
- # cursive (11)
- # data-science (2)
- # events (11)
- # graalvm (4)
- # graphql (2)
- # introduce-yourself (1)
- # jobs (2)
- # leiningen (3)
- # malli (16)
- # minecraft (6)
- # practicalli (1)
- # reagent (3)
- # reitit (1)
- # releases (3)
- # remote-jobs (2)
- # rewrite-clj (21)
- # shadow-cljs (12)
- # tools-deps (21)
- # vim (16)
okay, couldn't help myself, some more progress on Citizens @devurandom https://github.com/lambdaisland/witchcraft/pull/8/files
Thanks, this looks awesome! I will review it tomorrow.
Thanks for the explanations! They helped me a lot in understanding some choices you made for Witchcraft.
@U07FP7QJ0 I tried to send the citizens
and the citizens.trait
namespaces through my REPL to the server and then did:
(ns
(:require
[lambdaisland.witchcraft :as wc]
[lambdaisland.witchcraft.citizens :as citizens]))
; => nil
(citizens/make-trait "mytrait"
{:on-attach
(fn [this]
(println "mytrait attached to" (.getNPC this)))})
I get the reply:
Execution error (ClassFormatError) at java.lang.ClassLoader/defineClass1 (ClassLoader.java:-2).
Illegal field name "lambdaisland.witchcraft.citizens.trait_SLASH_trait_post_init__var" in class my/name/space
What is my mistake?Found the issue and was able to fix it: https://github.com/lambdaisland/witchcraft/pull/8#discussion_r781582201