Re: SD4F: (exist? procedure-**maximum**-arity)

2021-12-29 Thread Zelphir Kaltstahl
Hello Blake! You might be interested in this: https://notabug.org/ZelphirKaltstahl/function-combinators/src/master/notes.org =) Although I did try to implement things in a purely functional way, going perhaps a bit too far. Also "applicable structs" in Guile could prove useful, if you can find

Re: SD4F: (exist? procedure-**maximum**-arity)

2021-12-29 Thread Blake Shaw
Olivier Dion writes: > Out of topic here, but what's your first impression of the book? I was > thinking of asking it for my birthday :-) As someone whose introduction to scheme was sicp about a year ago, which I spent about three months with only moving forward after solving each problem,

Re: SD4F: (exist? procedure-**maximum**-arity)

2021-12-28 Thread Olivier Dion via General Guile related discussions
On Wed, 29 Dec 2021, Blake Shaw wrote: > Hiya Guilers, > > I've just started Sussman & Hanson's new book "Software Design for > Flexibility" and am trying to translate one of the functions from > MIT-Scheme to Guile: Out of topic here, but what's your first impression of the book? I was

SD4F: (exist? procedure-**maximum**-arity)

2021-12-28 Thread Blake Shaw
Hiya Guilers, I've just started Sussman & Hanson's new book "Software Design for Flexibility" and am trying to translate one of the functions from MIT-Scheme to Guile: #+BEGIN_SRC scheme (define (get-arity proc) (or (hash-table-ref/default arity-table proc #f) (let ((a (procedure-arity