scsh-users
[Top] [All Lists]

slib

To: scsh-news@zurich.ai.mit.edu
Subject: slib
From: Ed Kademan <kademan@phz.com>
Date: 01 Feb 2002 13:14:30 -0500
Does anyone have an example of how to use slib from scsh?  I took the
scsh.init file that came with slib, modified it for my site, and now
can actually invoke the format procedure---my immediate reason for
trying slib---but I am not doing things in what I believe is the
accepted way.  I can't seem to get "require" to work for example and
am getting annoying warning messages.  Here is what I have to do

  Welcome to scsh 0.6.0 (Chinese Democracy)
  Type ,? for help.
  > 
  > ,load /opt/lib/slib/scsh.init
  /opt/lib/slib/scsh.init
  /opt/lib/slib/require.scm

  Undefined: (srfi-0 else cond-expand srfi-1 srfi-2 srfi-3 srfi-4
              srfi-5 srfi-6 srfi-7 srfi-8 srfi-9 srfi-10 srfi-11
              srfi-12 srfi-13 srfi-14 srfi-15 srfi-16 srfi-17 srfi-18
              srfi-19 srfi-20 srfi-21 srfi-22 srfi-23 srfi-24 srfi-25
              srfi-26 srfi-27 srfi-28 srfi-29 srfi-30)

  Undefined: (print-call-stack)
  > ,load /opt/lib/slib/format.scm
  /opt/lib/slib/format.scm

  Warning: invalid arguments
           (- left-zeros format:fn-dot -1)
           (procedure wants: (:number &opt :number))
           (arguments are: (:value :value :exact-integer))
  /opt/lib/slib/strcase.scm
  /opt/lib/slib/strport.scm

  Undefined: (pretty-print)
  > (format #f "~20d" 234)
  "                 234"
  > ;; format works though!

Thanks for any pointers.

-- 
Ed Kademan              508.651.3700
PHZ Capital Partners    508.653.1745 (fax)
321 Commonwealth Road   <kademan@phz.com>
Wayland, MA 01778

<Prev in Thread] Current Thread [Next in Thread>