/
← Accept All   Archive
Swift Forums announcementsLanguages

[Pitch] Introduce a way to annotate functions that are called at most once

August 20

Hello Swift community! This pitch introduces a @called(once) attribute to model at-most once execution of a function. Making function execution behavior visible to the compiler has two advantages. First, it makes it poss

Languages & runtimesPitches
Read at Swift Forums announcements ↗

Related

More from Swift Forums announcements on Accept All.