Seth Alves | 16 Dec 21:12 2014

srfi-25 import error

I get an error when I try to import srfi-25:

$ ./gauche-srfi-25.scm *** ERROR: cannot find "srfi-25" in 
("/usr/local/share/gauche-0.9/site/lib" 
"/usr/local/share/gauche-0.9/0.9.5_pre1/lib" 
"/usr/local/share/gauche/site/lib" "/usr/local/share/gauche/0.9/lib")
     While compiling 
"/usr/local/share/gauche-0.9/0.9.5_pre1/lib/srfi/25.scm" at line 2: 
(define-module srfi.25 (extend srfi-25))
     While loading 
"/usr/local/share/gauche-0.9/0.9.5_pre1/lib/srfi/25.scm" at line 2
     While compiling "././gauche-srfi-25.scm" at line 6: (import (scheme 
base) (scheme write) (srfi 25))
     While loading "././gauche-srfi-25.scm" at line 8
Stack Trace:
_______________________________________

Attachment (gauche-srfi-25.scm): text/x-scheme, 136 bytes
------------------------------------------------------------------------------
Download BIRT iHub F-Type - The Free Enterprise-Grade BIRT Server
from Actuate! Instantly Supercharge Your Business Reports and Dashboards
with Interactivity, Sharing, Native Excel Exports, App Integration & more
Get technology previously reserved for billion-dollar corporations, FREE
http://pubads.g.doubleclick.net/gampad/clk?id=164703151&iu=/4140/ostg.clktrk
_______________________________________________
Gauche-devel mailing list
Gauche-devel <at> lists.sourceforge.net
(Continue reading)

Lasse Kliemann | 24 Nov 21:06 2014
Picon

suggestion for module-name-≥path

i've run into trouble with the current implementation of
'module-name-≥path'. since i've started organizing modules using host
names, names of modules contain '.' which should remain as they
are. for example a module is in file called 'host/foo.bar/lib.scm',
but when i try to load it with

(use host/foo.bar/lib)

it is looked for in 'host/foo/bar/lib'. as a workaround, i'm using
'require' and 'import' separately now. however, what about
implementing 'module-name-≥path' such that '.' are *not* converted
once the given module name contains a slash? this would solve my
problem and would also be compatible with existing module names.

thanks!
lasse
------------------------------------------------------------------------------
Download BIRT iHub F-Type - The Free Enterprise-Grade BIRT Server
from Actuate! Instantly Supercharge Your Business Reports and Dashboards
with Interactivity, Sharing, Native Excel Exports, App Integration & more
Get technology previously reserved for billion-dollar corporations, FREE
http://pubads.g.doubleclick.net/gampad/clk?id=157005751&iu=/4140/ostg.clktrk
_______________________________________________
Gauche-devel mailing list
Gauche-devel <at> lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/gauche-devel
(Continue reading)

Tatsuo Hisamatsu | 24 Nov 14:04 2014
Picon

'make check' failed while compiling Gauche-gl 0.6 on OS X Yosemite


Hello,

I tried to build Gauche-gl 0.6 on Gauche 0.9.4,
OS X Yosemite, but 'make check' failed as the
following:

"/usr/local/bin/gosh" -I. -I../lib test.scm >> test.log
Testing GL ...                                                   *** ERROR: Compile Error: failed to link ./libgauche-gl.so dynamically:
dlopen(./libgauche-gl.so, 10): Symbol not found: _glXGetProcAddressARB
  Referenced from: ./libgauche-gl.so
  Expected in: flat namespace
 in ./libgauche-gl.so
"./test.scm":14:(use gl)

Stack Trace:
_______________________________________
make[1]: *** [check] Error 70
make: *** [check] Error 2

To fix this, I add a preprocessor macro in
src/gauche-gl.c.

--- src/gauche-gl.c.orig	2014-11-24 21:58:00.000000000 +0900
+++ src/gauche-gl.c	2014-11-24 21:58:54.000000000 +0900
 <at>  <at>  -154,6 +154,9  <at>  <at> 
 */
 void *Scm_GLGetProcAddress(const char *name)
 {
+#if defined(MacOSX)
(Continue reading)

Lasse Kliemann | 17 Nov 08:35 2014
Picon

telling 'raise' to return?

Greetings,

the documentation says that 'raise' can return. Maybe I'm not
understanding this right or I haven't looked hard enough -- but I
cannot find out how to do this. I'd like to say, in the exception
handler, that for certain conditions, 'raise' shall return. Generally
this would be the case if the exception is not considered being
serious enough to abort whatever the caller was doing. I think Common
Lisp has something like that (called "restart"); I read about it years
ago and found the concept compelling for certain cases.

Thanks a lot for a hint!
Lasse
------------------------------------------------------------------------------
Download BIRT iHub F-Type - The Free Enterprise-Grade BIRT Server
from Actuate! Instantly Supercharge Your Business Reports and Dashboards
with Interactivity, Sharing, Native Excel Exports, App Integration & more
Get technology previously reserved for billion-dollar corporations, FREE
http://pubads.g.doubleclick.net/gampad/clk?id=157005751&iu=/4140/ostg.clktrk
_______________________________________________
Gauche-devel mailing list
Gauche-devel <at> lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/gauche-devel
Seth Alves | 2 Nov 17:23 2014

srfis in r7rs

In Gauche r7rs programs,  identifiers from imported srfis often aren't 
available.

This works fine (non r7rs):

#! /bin/sh
#| -*- scheme -*-
exec gosh $0 "$ <at> "
|#
(import srfi-2)
(display (and-let* ((x 5)) x))
(newline)

This fails with "ERROR: unbound variable: x":

#! /bin/sh
#| -*- scheme -*-
exec gosh -r7 $0 "$ <at> "
|#
(import (scheme base)
         (scheme write)
         (srfi 2))
(display (and-let* ((x 5)) x))
(newline)

This works, but requires a tangle of extra files and cond-expands 
throughout the (portable) code:

#! /bin/sh
#| -*- scheme -*-
(Continue reading)

Lasse Kliemann | 29 Sep 15:37 2014
Picon

display vs write-char

Hi, can there be any difference in the resulting string when using
display vs. using write-char on each character of a string str, like so:

;; using display
(call-with-output-string
  (lambda (res)
    (display str res)))

;; using write-char
(call-with-output-string
  (lambda (res)
    (for-each (lambda (c) (write-char c res)) (string->list str))))

I would suspect the latter being the most "faithful" way to copy str
into the string port. However, for example regexp-replace when called
with a function as the replacement uses display to insert the actual
replacement string. Are there any pitfalls associated with display when
I just want an exact copy of a string being inserted?

Thank you!

--

-- 
Dr. Lasse Kliemann
E-Mail: lasse.kliemann <at> gmail.com
OpenPGP Key: 0x4296A3E08903D018
Phone: +49 162 66 88 468
Address: Westring 269, 24116 Kiel, Germany

(Continue reading)

Jason Hemann | 4 Sep 05:36 2014
Picon

[ANN] *Extended Deadline* CFP for 2014 Scheme and Functional Programming Workshop

The paper submission deadline has been extended one week, to Friday,
Sept. 12 23:59 (UTC-12).

[Apologies for duplication from cross-postings.]

NEW DEADLINE: 12 September 2014, 23:59 (UTC-12)
WEBSITE: http://homes.soic.indiana.edu/jhemann/scheme-14/
LOCATION: Washington, DC (co-located with Clojure/conj)
DATE: 19 November 2014

The 2014 Scheme and Functional Programming Workshop is calling for submissions.

Submissions related to Scheme and functional programming are welcome
and encouraged. Topics of interest include but are not limiteThe paper
submission deadline has been extended one week, to Friday, Sept. 12
23:59 (UTC-12).

[Apologies for duplication from cross-postings.]

NEW DEADLINE: 12 September 2014, 23:59 (UTC-12)
WEBSITE: http://homes.soic.indiana.edu/jhemann/scheme-14/
LOCATION: Washington, DC (co-located with Clojure/conj)
DATE: 19 November 2014

The 2014 Scheme and Functional Programming Workshop is calling for submissions.

Submissions related to Scheme and functional programming are welcome
and encouraged. Topics of interest include but are not limited to:

- Program-development environments, debugging, testing
(Continue reading)

Shiro Kawai | 20 Jul 10:45 2014
Picon

Gauche 0.9.4

Finally.

Tarball:
http://prdownloads.sourceforge.net/gauche/Gauche-0.9.4.tgz
http://prdownloads.sourceforge.net/gauche/Gauche-0.9.4.tgz.asc (signature)

Windows installer (including Gauche-gl):
http://prdownloads.sourceforge.net/gauche/Gauche-mingw-0.9.4.msi
http://prdownloads.sourceforge.net/gauche/Gauche-mingw-0.9.4.msi.asc (signature)

Release notes:
- English:  http://practical-scheme.net/gauche/gmemo/?Release%200.9.4
- Japanese: http://practical-scheme.net/gauche/gmemo/?%A5%EA%A5%EA%A1%BC%A5%B9%200.9.4

------------------------------------------------------------------------------
Want fast and easy access to all the code in your enterprise? Index and
search up to 200,000 lines of code with a free copy of Black Duck
Code Sight - the same software that powers the world's largest code
search on Ohloh, the Black Duck Open Hub! Try it now.
http://p.sf.net/sfu/bds
Jason Hemann | 1 Jul 17:23 2014
Picon

2014 Scheme Workshop

The 2014 Scheme and Functional Programming Workshop will be held in
Washington, DC on November 19th, co-located again with Clojure/conj
(http://clojure-conj.org). A call for papers will be sent out shortly,
but I'm sending out this note so folk can save the date and begin
thinking about topics or results for submission. Going by the previous
workshops, it should be a useful and fun day for just about anyone
with an interest in Scheme or functional programming languages.

Jason Hemann

------------------------------------------------------------------------------
Open source business process management suite built on Java and Eclipse
Turn processes into business applications with Bonita BPM Community Edition
Quickly connect people, data, and systems into organized workflows
Winner of BOSSIE, CODIE, OW2 and Gartner awards
http://p.sf.net/sfu/Bonitasoft
_______________________________________________
Gauche-devel mailing list
Gauche-devel <at> lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/gauche-devel
Shiro Kawai | 28 Jun 23:51 2014
Picon

0.9.4 rc2

I packaged rc2.  The issues raised in rc1 should been addressed.
GC is updated to 7.4.2.

http://practical-scheme.net/vault/Gauche-0.9.4-rc2.tgz
http://practical-scheme.net/vault/Gauche-mingw-0.9.4-rc2.msi

--shiro

------------------------------------------------------------------------------
Open source business process management suite built on Java and Eclipse
Turn processes into business applications with Bonita BPM Community Edition
Quickly connect people, data, and systems into organized workflows
Winner of BOSSIE, CODIE, OW2 and Gartner awards
http://p.sf.net/sfu/Bonitasoft
Lasse Kliemann | 24 Jun 16:23 2014
Picon

Terminating a Job in a Thread Pool

Hi, how can I terminate a job which has been added to a thread pool
(created with 'make-thread-pool') with 'add-job!'? I coudn't find it in
the documentation, maybe I missed something. Currently, I'm helping
myself using 'terminate-all!', which is good enough for my use case, but
certainly not intended for this purpose since the next step in my
program is to create a new thread pool with 'make-thread-pool' just to
replace the one that has been invalidated by the call to 'terminate-all!".

Thank you!
Lasse

------------------------------------------------------------------------------
Open source business process management suite built on Java and Eclipse
Turn processes into business applications with Bonita BPM Community Edition
Quickly connect people, data, and systems into organized workflows
Winner of BOSSIE, CODIE, OW2 and Gartner awards
http://p.sf.net/sfu/Bonitasoft
_______________________________________________
Gauche-devel mailing list
Gauche-devel <at> lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/gauche-devel

Gmane