Last-Modified: 2023-04-01T15:19:01+01:00 >>>> Unanswered questions <<<<< Q: What are “stat storms” and what's their connection with “thunking”? Q: When should a record field be thunked? Q: What's (innate) in define-record-type*? Q: package/inherit vs inherit? Q: (guix build …) vs (guix build-system …) ? ================================= Guile ====================== Q: What is the difference between '#:autoload' and '#:use-module + #:select' without renaming or prefixing: """""""""""""""""" (define-module (foo) #:autoload (my module) (my-procedure)) ;; vs. (define-module (foo) #:use-module ((my module) #:select (my-procedure))) """""""""""""""""" A: autoload means that the module is not loaded on (define-module ...), but rather when the first autoloaded symbol is used use-module would just outright load it this lets you avoid import cycles if all the autoloaded variables are used inside functions, since they'll be loaded later when the function runs for the first time Guix ===================== Q: Which 'raise' is used throughout guix, since guile 'raise' raises process signals? A: since raise is a built-in, when you use-module srfi-34 it just overwrites the definition. Q: What are the “XXX: …” comments within the codebase? A: XXX is for ugly hacks that should be eventually replaced with something more elegant, when someone finds a way to do so. (apteryx) Q: What is “define-compile-time-procedure” and when is it used for? A: (see url) \\\\ TODO: rewrite this URLs: , ETC ========== How do I apply a patch for guix? It's for https://issues.guix.gnu.org/60108 I downloaded the original message by clicking the download button next to it, https://issues.guix.gnu.org/issue/60108/raw/0 but then when I do git am I just get: Patch format detection failed. Only i not speak good english without translate I tried to run git apply but it does not create the commit, so the commit will have wrong author and date information I guess Oh I needed --patch-format=mbox