add procedure_minimum_arity
authorAndy Wingo <wingo@pobox.com>
Sat, 17 Apr 2010 14:03:51 +0000 (16:03 +0200)
committerAndy Wingo <wingo@pobox.com>
Sat, 17 Apr 2010 14:03:51 +0000 (16:03 +0200)
commitcb2ce548441824fe1284fc80a3a95394a9fc03d0
tree1b64e72c2ae227b03ea1b24a5033f67ba70744fe
parent1e23b461ecd25c582dd0b10ebb1d7fd22f5e5ec4
add procedure_minimum_arity

* libguile/procprop.h:
* libguile/procprop.c (scm_procedure_minimum_arity): New public
  function, will replace (procedure-property foo 'arity).

* libguile/programs.c (scm_i_program_arity): Rework to always provide
  the most permissive arity.
libguile/procprop.c
libguile/procprop.h
libguile/programs.c