This is the mail archive of the guile@sourceware.cygnus.com mailing list for the Guile project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Re: signal error from my smob_func



ML>>> So this will not work:
ML>> (let ((session (o:log "scott" "tiger" "mydb")))
ML>>   (if session
ML>>>         (display (o:erhms session))))

ML>what about:

ML>(let ((session (o:log "whatever")))
ML>  (cond
ML>   ((o:error? session)

I fought about it. It's not looked very nice. My aim - to make
interface simple, but instead i make new "api" call "error" what Oracle
had not have before...

It's not very serios and till no another way I'll go this road.


ML>see http://srfi.schemers.org/srfi-12 (withdrawn, unfortunately, but
ML>it's the right idea and may give you some methodological hints).

thanx. It's what i was looking for.


-- 
Sergey

05/11/2000 16:44    mailto:dsa-ugur@chel.surnet.ru
Gnus v5.8.3/XEmacs 21.1 (patch 3) "Acadia" [Lucid]

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]