News for hackers. Stuff that matters.
Re:Zoo of Array Languages by 1-more on Tuesday October 14, 2025 @02:59PM (#45583509)
delightful, ty. How does it handle empty arrays? Throw? Average is zero? Average is infinity?
Re:Zoo of Array Languages by bear8642 on Tuesday October 14, 2025 @03:54PM (#45584032)
Average is zero

     empty =. 0$0 NB. zero length array
     +/empty
  0
     #empty
  0
     0%0
  0
Re:Zoo of Array Languages by 1-more on Tuesday October 14, 2025 @06:00PM (#45585569)
Further validation for n / 0 = 0 in Elm and Pony and a couple other places! TYSM