Fork me on GitHub

Hello folks, I just started using Quil and I had a question: Is there any specific advantage about using quil’s state-atom, compared to a normal atom?

Juλian (he/him)16:06:15

If I understand correctly, set-state! ensures it is only set once. I haven't found any reason to use state atoms, yet