tweag / topiary

https://topiary.tweag.io/
MIT License
579 stars 29 forks source link

fix: remove first/last_leaf_inner #706

Closed ErinvanderVeen closed 6 months ago

ErinvanderVeen commented 6 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: