-- You received this message because you are subscribed to the Google Groups "Racket Users" group. To unsubscribe from this group and stop receiving emails from it, send an email to racket-users+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/d/optout.
This is a homework question of mine (though I don't think the OP is
doing homework for a course for credit; I'd be curious to know where he
found it). I usually state the restrictions on 'reverse' and 'remove',
but not 'member?'. The restriction on 'reverse' is so that students
don't write one of the functions by reversing, calling the other,
reversing again. Also sometimes when students violate structural
recursion, they get a reversed result, and I don't want them applying
'reverse' as a quick fix. The restriction on 'remove' is on the built-in
function of that name, because it only removes one element, and using it
leads students away from structural recursion. Recently I have taken to
hinting that they should write something like remove*. --PR
- [racket-users] Removing duplicates from a list while ma... Paul Bian
- [racket-users] Re: Removing duplicates from a list... mazert
- Re: [racket-users] Removing duplicates from a list... Matthias Felleisen
- [racket-users] Re: Removing duplicates from a list... Paul Bian
- Re: [racket-users] Re: Removing duplicates fro... Michael Tiedtke
- [racket-users] Re: Removing duplicates from a list... Prabhakar Ragde
- Re: [racket-users] Re: Removing duplicates fro... Matthias Felleisen
- [racket-users] Re: Removing duplicates from a list... Paul Bian