It could be a Church Numeral in which case function application is the same as addition and the answer is actually 10…
Comment on I dunno
ExtremeDullard@piefed.social 16 hours ago
5 isn’t a valid function name, is obviously the right answer.
gnutrino@programming.dev 11 hours ago
marcos@lemmy.world 8 hours ago
I’m pretty sure that’s a module operator…
TheRedSpade@lemmy.world 15 hours ago
How can you be sure it’s not defined when we only see one line?
Voroxpete@sh.itjust.works 11 hours ago
They didn’t say it’s not defined, they said it’s not a valid name. Most languages don’t allow function names to start with a number, so 5 literally cannot be a function if that’s the case…
But that’s assuming this isn’t some really obscure language.