We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
prod(())
1
julia> prod(()) 1 julia> prod([]) ERROR: MethodError: no method matching one(::Type{Any})
For () it's guessing that the output type is Int, which is bad. I think this should throw an error.
()
Int