]> gitweb.factorcode.org Git - factor.git/commit
sequences.extras: use 0reduce for max-subarray-sum and make it row-polymorphic
authorDoug Coleman <doug.coleman@gmail.com>
Mon, 8 Jan 2024 21:02:52 +0000 (15:02 -0600)
committerDoug Coleman <doug.coleman@gmail.com>
Wed, 10 Jan 2024 19:54:21 +0000 (13:54 -0600)
commitb52d21fc5ad62dd85345003c8ebd45f432fcaf21
treed5fdfb7d779fd8b7af8518b729f8daea4e6927cd
parent6b0008ee87ae9d8944cd0d830ee4173088b1be12
sequences.extras: use 0reduce for max-subarray-sum and make it row-polymorphic

otherwise the compiled word errors since stack effect is ( x x x -- x x )
extra/sequences/extras/extras.factor