New to Scheme / Racket: Heavy use of recursion - lifestyle or am I just going through a typical stage

I have bounced off functional languages ​​over the past few months from F # to Haskell to Scheme (Racket). I never used recursion, but Haskell and its pattern matching really helped me to be less afraid of them. Now when I use Scheme, I seem to be the default recursive method. I'm curious if this suggests just going through "shine ohh!" or if recursion is the main product of schema development.

Side note: I shot for tail recursion whenever I write recursive methods.

+5
source share
3 answers

, , .

(, SICP) , . , , . ( ) "ooh shiny!" .

, . - , - , map fold.

, Racket , , map fold, "", for/list, for/vector for/fold, , . .

, , ( " " ). , , , .

+10

, , . - , , , , , , .

. , , , , , , SQL- , .

, , , . , , Scheme fold-right " , , , cons ". , .

+5

. Lisp ( ). ( , , ).

+3

All Articles