RE: [racket-users] check-duplicates

2016-05-28 Thread Jos Koot
-users] check-duplicates On May 27, 2016, at 2:35 PM, Jos Koot <jos.k...@gmail.com> wrote: Many more options are open. Here is one you didn’t mention, going back to Julia Lawall's notion of “leakage”: pass in a success (sk) and failure (fk) continuation so that the “outside” does no

Re: [racket-users] check-duplicates

2016-05-28 Thread Matthias Felleisen
> On May 27, 2016, at 2:35 PM, Jos Koot wrote: > > Many more options are open. Here is one you didn’t mention, going back to Julia Lawall's notion of “leakage”: pass in a success (sk) and failure (fk) continuation so that the “outside” does not have to recoup the

RE: [racket-users] check-duplicates

2016-05-27 Thread Jos Koot
Koot Cc: Racket Users Subject: Re: [racket-users] check-duplicates Open drracket, type in check-duplicates, and follow the right-click menu to find the source. Then submit a pull request on github. - Matthias snip -- You received this message because you are subscribed to the Google Groups

Re: [racket-users] check-duplicates

2016-05-27 Thread Matthias Felleisen
> Sent: viernes, 27 de mayo de 2016 1:24 > To: Jos Koot > Cc: Racket Users > Subject: Re: [racket-users] check-duplicates > > > You can add a keyword argument that changes the not-found result for such a > case: > > (define special (gensym)) > (check-duplicate

RE: [racket-users] check-duplicates

2016-05-27 Thread Jos Koot
[mailto:matth...@ccs.neu.edu] Sent: viernes, 27 de mayo de 2016 1:24 To: Jos Koot Cc: Racket Users Subject: Re: [racket-users] check-duplicates You can add a keyword argument that changes the not-found result for such a case: (define special (gensym)) (check-duplicates+ '(#f #f) #:not-found special) Its

Re: [racket-users] check-duplicates

2016-05-26 Thread Matthias Felleisen
You can add a keyword argument that changes the not-found result for such a case: (define special (gensym)) (check-duplicates+ '(#f #f) #:not-found special) Its signature would have to look like this then: ;; check-duplicates : (listof X) ;;[(K K -> bool)] ;;