News for hackers. Stuff that matters.
Re:Scallop – A Language for Neurosymbolic Programming by tempodox on Saturday March 22, 2025 @05:21AM (#43444507)
The tutorial claims that fib(0) = 1, which is wrong.

https://en.wikipedia.org/wiki/Fibonacci_sequence

This one was easy to spot and would have been easy to get right. Makes me wonder…

Re:Scallop – A Language for Neurosymbolic Programming by fib0equal1 on Saturday March 22, 2025 @05:54AM (#43444626)
From the first paragraph on Wiki:

> Many writers begin the sequence with 0 and 1, although some authors start it from 1 and 1[1][2] and some (as did Fibonacci) from 1 and 2.

Re:Scallop – A Language for Neurosymbolic Programming by ginko on Saturday March 22, 2025 @05:53AM (#43444617)
From the first paragraph in the article you linked:

> Many writers begin the sequence with 0 and 1, although some authors start it from 1 and 1[1][2] and some (as did Fibonacci) from 1 and 2.