Zulip Chat Archive
Stream: Is there code for X?
Topic: Collecting bounded call sites
Leni Aniva (Apr 17 2024 at 18:10):
Is there a function for collecting bounded call sites from a function? For example, given a expr
`2, fun x => `1 x + `4
The function should give [0, 2]
. The index 3
is not included since it is not a call site.
If such a function does not exist, is there a function similar to Expr.foldlM
but that is aware of the surrounding context?
Kim Morrison (Apr 18 2024 at 01:10):
What do the backticks represent in what you've written above? I'm not understanding!
Last updated: May 02 2025 at 03:31 UTC