Unifying fold left and fold right in Prolog | Hacker News Reader