Re: is that useful? sebastian.egner@xxxxxx (22 Feb 2002 16:15 UTC)
Re: is that useful? Walter C. Pelissero (25 Feb 2002 12:02 UTC)
Re: is that useful? sperber@xxxxxx (25 Feb 2002 14:33 UTC)
Re: is that useful? Walter C. Pelissero (26 Feb 2002 14:40 UTC)
Re: is that useful? sperber@xxxxxx (26 Feb 2002 14:53 UTC)
Re: is that useful? Dave Mason (26 Feb 2002 15:28 UTC)
Re: is that useful? sperber@xxxxxx (26 Feb 2002 15:39 UTC)
Re: is that useful? Dave Mason (26 Feb 2002 16:45 UTC)
Re: is that useful? Walter C. Pelissero (26 Feb 2002 16:37 UTC)
Re: is that useful? sperber@xxxxxx (26 Feb 2002 16:41 UTC)

Re: is that useful? Walter C. Pelissero 25 Feb 2002 12:01 UTC

xxxxxx@philips.com writes:
 > What do you use in practice?

I don't use anything of the so far proposed code:

    (defun lisp-insert-lambda ()
      "Insert lambda form at point asking for parameters."
      (interactive)
      (insert "(lambda (" (read-string "Variables: ") ") ")
      (save-excursion (insert ")")))

    (add-hook 'scheme-mode-hook
	      #'(lambda ()
		  (local-set-key "\C-cl" 'lisp-insert-lambda)))

It's a "complete" backward-compatible solution that doesn't resort to
special extensions of the language.  For single argument functions the
resulting code is not as readable as the [] notation, but IMHO is
better than any coriander based recipe.

The sense of my previous message is: IMHO, SRFI-26 is not general
enough and introduces a negligible improvement over standard Scheme.

--
walter pelissero
http://www.pelissero.org