Attached patch added an inspection command "source" to display the
Scheme code of loaded module, it'll be useful for folks:
-Scheme proc
scheme@(guile-user)> ,use (srfi srfi-1)
scheme@(guile-user)> ,src any
(define (any pred ls . lists)
(check-arg procedure? pred any)
(
Nala Ginrut writes:
> Attached patch added an inspection command "source" to display the
> Scheme code of loaded module, it'll be useful for folks:
>
> -Scheme proc
> scheme@(guile-user)> ,use (srfi srfi-1)
> scheme@(guile-user)> ,src any
> (define (any pred ls . lists)
>
Mark H Weaver skribis:
> I must say that 'par-map' has shockingly poor performance.
> We really ought to try to improve this.
IMO we must improve futures, not necessarily ‘par-map’ itself, because
lists are not a good data structure for parallel processing anyway (“get
rid of cons” said Steele ;
Mark H Weaver skribis:
> From a36b1c48079803cf09753fc446825fcc2c64e6a8 Mon Sep 17 00:00:00 2001
> From: Mark H Weaver
> Date: Fri, 29 Mar 2013 12:28:49 -0400
> Subject: [PATCH] Add -C command-line option to adjust %load-compiled-path.
>
> * module/ice-9/command-line.scm (compile-shell-switches):
On 31 March 2013 05:17, Mark H Weaver wrote:
> Nala Ginrut writes:
>> +
>> +(define (print-src p)
>> + (define (get-program-src p)
>> +(let ((source (program-source p 0)))
>> + (cond
>> + ((not source) "It's inner procedure implemented with C")
>
> I'm not sure we can conclude tha