Task: Implement Paramorphisms in Haskell
Task: Implement Paramorphisms in Haskell: a task in Terminal-Lego-15k (Harbor dataset). A paramorphism is a recursion scheme that generalizes catamorphisms (folds). Unlike a regular fold, which only has access to the accumulated result at each step, a paramorphism also has access to the remaining…
The task
A **paramorphism** is a recursion scheme that generalizes catamorphisms (folds). Unlike a regular fold, which only has access to the accumulated result at each step, a paramorphism also has access to the remaining unconsumed portion of the input structure. This makes it a form of "primitive recursion" over data…
Part of PrimeIntellect/Terminal-Lego-15k.