Are you using the “How To Design Programs” textbook? It’s free, online, and 
written by the team that developed Racket:

https://htdp.org/2020-8-1/Book/index.html

Indeed, it would not be a stretch to say that Racket and this textbook are part 
of the same project.

How To Design Programs (or HtDP) is focused on the idea of systematic design, 
and makes this concrete in the form of a “design recipe”, outlining specific 
steps for developing programs.

Taking a 10-second look at your code, it seems that you skipped steps 1, 2, 3, 
and possibly 4 of the design recipe in developing your code. Specifically: you 
need purpose statements, input/output specifications, and examples/test cases. 
These are part of systematic design. 

I strongly suggest that you take a look at How To Design Programs to understand 
how to design functions like this methodically!

Hope this helps,

John Clements


> On Dec 15, 2020, at 5:12 AM, Kira Bender <kiel.ben...@gmail.com> 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 racket-users+unsubscr...@googlegroups.com.
> To view this discussion on the web visit 
> https://groups.google.com/d/msgid/racket-users/fd484f7c-77b5-492c-9780-d3c2a7cc0e0bn%40googlegroups.com.

-- 
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.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/racket-users/93fac9b5-6d56-46c6-930f-7cdb5b26a6fb%40mtasv.net.

Reply via email to