>>108112263
lambdas are literally just how you do normal things in lisp. in my time since starting with emacs (only a few months), they come pretty naturally. it's actually a lot like js.
>>108112159
this one is confusing. it looks like modify-services is a more complex macro? the return value of auto-login-to-tty is a function (look at its definition,(define (f x y) .. )
is shorthand for (define f (lambda (x y) .. ))
.
pic related,(type variable => body), in your pic: (mingetty-service-type config => (auto-login-to-tty ..))
so in the auto-login-to-tty call, config is the configuration of the services (which? "the orignal"?) in %base-services. the if string=? seems to be saying "if "tty3" matches the reference service's tty, return a new service that inherits its configuration plus also auto logs in user. ELSE, just return the reference service configuration." it would make sense if modify-services acts as a loop you dont see, and config is every service in %base-services. i dont see another way the conditional would pass and actually make a service that auto logs in. very confusing so i guess youre right.