Factorial with fixpoint combinator in #Uxntal lambdas, because we can:
#05 { ROT DUP ?{ POP POP2 #01 JMP2r } DUP #01 SUB SWP2 DUP2 JSR2 MUL JMP2r } STH2r { DUP2 JSR2 JMP2r } STH2r JSR2
( returns 120 )
happy to explain this if anyone is interested
@wim_v12e 🤔 we must be working on very similar things at the moment..
@neauoire Could be 🙂 This just came to me in a dream, or to be more accurate, just before I fell asleep. It's probably a consequence of me thinking through how you implemented lambdas.
happy to explain this if anyone is interested