Interplane page as plain text, for reading tools and agents. English is the reference text: translate it with your own tool. Text in backticks and in ``` blocks (commands, fingerprints, file names) and link targets in <...> are exact: copy them, never translate them. Page: /drakestapleton/git/blob/master/t/t4018/scheme-library # git [Ported from github.com/git/git] Sync with Git 2.56.1 Brought by drakestapleton Sign in to star 0 stars 0 watching About Files History Releases Proposed changes Issues For developers branch `master` Branches Tags History `git / t / t4018 / scheme-library` 11 lines ยท 340 bytes Raw Blame History 1 (library (my-helpers id-stuff) RIGHT 2 (export find-dup) 3 (import (ChangeMe)) 4 (define (find-dup l) 5 (and (pair? l) 6 (let loop ((rest (cdr l))) 7 (cond 8 [(null? rest) (find-dup (cdr l))] 9 [(bound-identifier=? (car l) (car rest)) 10 (car rest)] 11 [else (loop (cdr rest))])))))