Subscribe

2022-06-22 Thread Ruan Rossouw

Issue with run or fill

2022-06-22 Thread Kevin Ednalino
Hello, I'm wondering why this is not running as expected? (for @Cls '(+A +B) (run (fill '((class @Cls) (println 'define '@Cls) # prints: "define +A", then "define +B" (dm c> () (println (type This) 'default)) (c> (new '(+A))) # prints: "(+A) default" - correct (

Re: Issue with run or fill

2022-06-22 Thread Alexander Burger
Hi Kevin, > I'm wondering why this is not running as expected? > > (for @Cls '(+A +B) > (run > (fill > '((class @Cls) > (println 'define '@Cls) # prints: "define +A", then "define +B" > (dm c> () (println (type This) 'default)) > .. > (extend +B) > (dm c> () (print

Re: Issue with run or fill

2022-06-22 Thread Kevin Ednalino
Thanks Alex! It makes sense now. Normally, I would use a superclass but it's in the context of a component system so there's no inheritance (just polymorphism). --Kevin On Wed, Jun 22, 2022 at 8:12 AM Alexander Burger wrote: > Hi Kevin, > > > I'm wondering why this is not running as expected? >