dark icon indicating copy to clipboard operation
dark copied to clipboard

Allow users to clone functions

Open StachuDotNet opened this issue 3 years ago • 2 comments

e.g. in this case, I'd like to generate many htmlTagX functions image

StachuDotNet avatar Jun 20 '22 01:06 StachuDotNet

An adjacent idea: generate Dark code from within Dark (so I can quickly generate a bunch of functions - either as fns that exist normally after the generation, or functions that are dynamically generated in ways I can change all at once later on.

StachuDotNet avatar Jun 20 '22 01:06 StachuDotNet

Another reason for this is that developers want versioned functions so that they don't break existing code. We planned to allow locking handlers that are in use, so that devs can be sure to not break anything that's running - which would require copying the whole stack of functions.

pbiggar avatar Jun 20 '22 09:06 pbiggar

Also, allow cloning handlers

pbiggar avatar Dec 23 '22 13:12 pbiggar

merged into #5237

StachuDotNet avatar Jan 09 '24 21:01 StachuDotNet