Julia Programming Language
Sum(i for i in Vector{Int}()) raises error instead of returning 0?
General Usage
question
,
proposal
e3c6
June 25, 2018, 11:15am
8
https://github.com/JuliaLang/julia/issues/27766
1 Like
show post in topic
Related topics
Topic
Replies
Views
Activity
Inconsistency in `sum` of an empty generator
Internals & Design
generator
,
sum
5
835
November 2, 2022
Should empty sum (and product) be defined?
Internals & Design
2
805
February 3, 2017
Understanding 'MethodError'
New to Julia
question
6
735
February 9, 2017
Type inference of sum result
General Usage
question
2
561
December 26, 2016
Can I type assert the eltype of an iterator?
General Usage
question
12
1407
July 19, 2017