iqsharp icon indicating copy to clipboard operation
iqsharp copied to clipboard

passing a callable as an argument to %simulate

Open blackfyre-ai opened this issue 4 years ago • 1 comments

How can I do if I want to call an operation that have another operation as an argument. I have tried '%simulate operationA(operationB)' and '%simulate operation A operationB' but it doesnt work

blackfyre-ai avatar Jul 25 '21 12:07 blackfyre-ai

Hi! Currently %simulate doesn't support passing an operation as an argument. A workaround would be to define an operation operationAWithB that passes operationB to operationA, then call that through %simulate operationAWithB

anjbur avatar Jul 27 '21 01:07 anjbur