unofficial mirror of guile-devel@gnu.org 
 help / color / mirror / Atom feed
* cond-expand-provide and (scheme base)
@ 2020-10-22 18:24 Taylan Kammer
  2020-10-23  2:57 ` Taylan Kammer
  0 siblings, 1 reply; 2+ messages in thread
From: Taylan Kammer @ 2020-10-22 18:24 UTC (permalink / raw)
  To: guile-devel

I think the following discrepancy should probably be fixed:

  $ guile -L ~/src/scheme/bytestructures/
  guile> ,use (scheme eval)
  guile> (eval '(cond-expand (lp64 #t) (else #f))
               (environment '(guile)  ; <=== DIFFERENCE HERE
                            '(bytestructures guile numeric-data-model)))
  $1 = #t
  guile> (eval '(cond-expand (lp64 #t) (else #f))
               (environment '(scheme base)  ; <=== DIFFERENCE HERE
                            '(bytestructures guile numeric-data-model)))
  $2 = #f

WDYT?


Kind regards,

Taylan



^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: cond-expand-provide and (scheme base)
  2020-10-22 18:24 cond-expand-provide and (scheme base) Taylan Kammer
@ 2020-10-23  2:57 ` Taylan Kammer
  0 siblings, 0 replies; 2+ messages in thread
From: Taylan Kammer @ 2020-10-23  2:57 UTC (permalink / raw)
  To: guile-devel

On 22.10.2020 20:24, Taylan Kammer wrote:
> I think the following discrepancy should probably be fixed:
> 
>    $ guile -L ~/src/scheme/bytestructures/
>    guile> ,use (scheme eval)
>    guile> (eval '(cond-expand (lp64 #t) (else #f))
>                 (environment '(guile)  ; <=== DIFFERENCE HERE
>                              '(bytestructures guile numeric-data-model)))
>    $1 = #t
>    guile> (eval '(cond-expand (lp64 #t) (else #f))
>                 (environment '(scheme base)  ; <=== DIFFERENCE HERE
>                              '(bytestructures guile numeric-data-model)))
>    $2 = #f

To clarify:

The module (bytestructures guile numeric-data-model) provides the 'lp64' 
condition via 'cond-expand-provide'.

The 'cond-expand' imported from the (guile) module correctly sees this, 
but the one imported from (scheme base) seems to ignore it.

Taylan



^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2020-10-23  2:57 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-10-22 18:24 cond-expand-provide and (scheme base) Taylan Kammer
2020-10-23  2:57 ` Taylan Kammer

unofficial mirror of guile-devel@gnu.org 

This inbox may be cloned and mirrored by anyone:

	git clone --mirror https://yhetil.org/guile-devel/0 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/ https://yhetil.org/guile-devel \
		guile-devel@gnu.org
	public-inbox-index guile-devel

Example config snippet for mirrors.
Newsgroups are available over NNTP:
	nntp://news.yhetil.org/yhetil.lisp.guile.devel
	nntp://news.gmane.io/gmane.lisp.guile.devel


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