tweag / topiary

https://topiary.tweag.io/
MIT License
549 stars 24 forks source link

fix: remove first/last_leaf_inner #706

Closed ErinvanderVeen closed 4 months ago

ErinvanderVeen commented 4 months ago

Resolves longstanding TODO to simplify first and last leaf

Description

The previous solution was needlessly recursive, this version changes the recursion into a loop.

Checklist

Checklist before merging: