Join Slack
Powered by
hmm… so is there a nicer way to get unique key bas...
# announcements
v
vishna
12/03/2018, 5:13 PM
hmm… so is there a nicer way to get unique key based on position in the file, other than getting stack trace?
a
APXEOLOG
12/03/2018, 5:17 PM
I don't think so
b
bartvh
12/03/2018, 5:21 PM
maybe you could hash together a reference to the function (::main) with a function-local subid
bartvh
12/03/2018, 5:22 PM
though i don't know if function references have a unique object identity and/or
equals
a
APXEOLOG
12/03/2018, 5:24 PM
I don't think you can access those from the
once
function
Open in Slack
Previous
Next