unofficial mirror of 
 help / color / mirror / Atom feed
* define-inlinable* : a define-inlinable with lambda*-behaviour.
@ 2020-04-24  7:13 Linus Björnstam
  0 siblings, 0 replies; only message in thread
From: Linus Björnstam @ 2020-04-24  7:13 UTC (permalink / raw)
  To: guile-devel

I just found that (ice-9 optargs) has defmacro*, which made me think about a question that has popped up on irc about once every 4 months: why isn't there a define-inlinable*? 

I have a working implementation, and I want to know if there is any interest to include it in guile. Either in boot-9.scm, or as a friend of defmacro* in (ice-9 opt-args).

A straight forward simple implementation would have a regression over define-inlinable: define-inlinable does arg count validation, which is a lot less simple when you have keywords and/or optional arguments. Would this be an acceptable regression if they are implemented as two distinct macros?

If one does a proper define-inlinable*, it can be used to implement define-inlinable (since that would be the simple case for it).

What do the maintainers think?
  Linus Björnstam

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2020-04-24  7:13 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-04-24  7:13 define-inlinable* : a define-inlinable with lambda*-behaviour Linus Björnstam

unofficial mirror of 

This inbox may be cloned and mirrored by anyone:

	git clone --mirror guile-devel/git/0.git

	# If you have public-inbox 1.1+ installed, you may
	# initialize and index your mirror using the following commands:
	public-inbox-init -V2 guile-devel guile-devel/ \
	public-inbox-index guile-devel

Example config snippet for mirrors.
Newsgroups are available over NNTP:

AGPL code for this site: git clone http://ou63pmih66umazou.onion/public-inbox.git