Are subfunctions considered pure? #18250
Answered
by
froystig
inversecrime
asked this question in
Q&A
-
I was wondering whether or not the following code is expected to work. Currently, it is working. Is this officially supported, maybe even documented? I couldn't find anything.
|
Beta Was this translation helpful? Give feedback.
Answered by
froystig
Oct 24, 2023
Replies: 1 comment 1 reply
-
Yes – |
Beta Was this translation helpful? Give feedback.
1 reply
Answer selected by
inversecrime
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Yes –
jax.lax.cond
supports closure in the conditional's branch functions.