Kira:

You mentioned things (map, foldr, ...) that you're not permitted to use, 
but I don't know the full homework requirements. If your professor did not 
preclude the built-in permutations function, you could use that as a way of 
teaching your professor to communicate the requirements more clearly - they 
love that sort of thing ;)

https://docs.racket-lang.org/reference/pairs.html?q=permutations#%28def._%28%28lib._racket%2Flist..rkt%29._permutations%29%29

Brian

On Tuesday, December 15, 2020 at 8:12:25 AM UTC-5 [email protected] wrote:

> I study programming and have to do permutations in Racket without 
> something like map , foldr, remove, remq, sort! or begin. So now i have a 
> code but it doesn't show me every Permutation and some dopple. I can't find 
> the issue or how to fix and program it right only using recursion. Maybe 
> some of you know how to help me and find my logical or programming issue.  
> Here you can find a github link to my code.
> https://gist.github.com/KiraBen/fd70ea1063dfcdadfea0332343e37558
>
> Thank you for your help. 
>
> With greetings Kira Bender
>

-- 
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 [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/racket-users/d65c721c-bc2a-46dd-ba89-bc19ec84ee1en%40googlegroups.com.

Reply via email to