On 18 Jul 2019, at 19:15, Hendrik Boom wrote:

I still use the car/cdr congomerations.  They are quite useful when
parsing a list.

I think I know what you mean. I used to do that, too, till I discovered match (https://docs.racket-lang.org/reference/match.html). That can save you a lot of code that's essentially: "if the cadaadr is this, then do that, but if the cdddadr looks like this, do that instead".

--
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/174FF04C-E362-4F32-90A2-BC5FE36B5466%40lisp.sh.

Reply via email to