Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

add stopAfter? #1082

Open
yaxu opened this issue May 1, 2024 · 1 comment
Open

add stopAfter? #1082

yaxu opened this issue May 1, 2024 · 1 comment
Labels
function new pattern function

Comments

@yaxu
Copy link
Member

yaxu commented May 1, 2024

const stopAfter = register('stopAfter', function(x, pat) {
  x = Fraction(x);
  return pat.mask(signal((t) => x.gt(t)));
});
@yaxu
Copy link
Member Author

yaxu commented May 13, 2024

As used in this
https://strudel.cc/?G99R16eCPAiy

@felixroos felixroos added the function new pattern function label May 30, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
function new pattern function
Projects
None yet
Development

No branches or pull requests

2 participants