[Larceny-users] Stupid newbie or a bug?

Jon Wells jon at bigbang.com.au
Tue Jul 1 20:06:28 EDT 2008


(buffer-mode mode) doesn't seem to work. I futzed to no avail.

jon.

 
jon at pow 114% larceny -err5rs
Larceny v0.961 "Fluoridation" (Jan  2 2008 08:01:50, precise:Linux:unified)
larceny.heap, built on Wed Jan  2 08:11:02 EST 2008
ERR5RS mode (no libraries have been imported)

> (import (rnrs))
Autoloading (rnrs)
      :
Autoloading (rnrs unicode)

> (buffer-mode 'line)

Syntax violation: invalid reference

No binding available for memq in library (rnrs io ports)

Form: memq

Trace: 

  (memq mode '(none line block))

  (if (memq mode '(none line block))
    mode
    (assertion-violation
      'buffer-mode
      "Larceny-specific buffer mode"
      mode))

  (lambda (mode)
  (if (memq mode '(none line block))
      mode
      (assertion-violation
        'buffer-mode
        "Larceny-specific buffer mode"
        mode)))

  ((lambda (mode)
   (if (memq mode '(none line block))
       mode
       (assertion-violation
         'buffer-mode
         "Larceny-specific buffer mode"
         mode)))
 ''line)



Error: syntax-violation: invalid reference: No binding available for memq in 
library (rnrs io ports) memq
Entering debugger; type "?" for help.
debug> 




More information about the Larceny-users mailing list