Mark H Weaver writes:
> It can be done safely using the module system, by calling it something
> other than 'define' in the module, and then renaming it on export. For
> example, see:
>
>
> http://git.savannah.gnu.org/gitweb/?p=guile.git;a=blob;f=module/ice-9/curried-definitions.scm;h=fa36990
Panicz Maciej Godek writes:
> -- Forwarded message --
> From: Panicz Maciej Godek
> Date: 2013/10/1
> Subject: Re: Guile interpeter crash
> To: Dmitry Bogatov
>
> 2013/10/1 Dmitry Bogatov
>
> Here is code that results crash (return 134). H
-- Forwarded message --
From: Panicz Maciej Godek
Date: 2013/10/1
Subject: Re: Guile interpeter crash
To: Dmitry Bogatov
2013/10/1 Dmitry Bogatov
>
> Here is code that results crash (return 134). Hope it is interesting.
>
The code you gave is not a proper Scheme pro
Here is code that results crash (return 134). Hope it is interesting.
guile (GNU Guile) 2.0.9
Copyright (C) 2013 Free Software Foundation, Inc.
(define *define-count* 0)
(define-syntax define#
(syntax-rules ()
((_ obj ...)
(begin
(set! *define-count* (1+ *define