diff options
Diffstat (limited to '065duplex_list.mu')
-rw-r--r-- | 065duplex_list.mu | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/065duplex_list.mu b/065duplex_list.mu index 0b0a47c5..e3eafcba 100644 --- a/065duplex_list.mu +++ b/065duplex_list.mu @@ -422,6 +422,19 @@ recipe insert-duplex-range [ reply in ] +recipe last-duplex [ + local-scope + in:address:duplex-list <- next-ingredient + result:address:duplex-list <- copy in + { + next:address:duplex-list <- next-duplex result + break-unless next + result <- copy next + loop + } + reply result +] + # helper for debugging recipe dump-duplex-from [ local-scope |