From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 85223 invoked by alias); 21 Sep 2017 15:24:36 -0000 Mailing-List: contact kawa-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: kawa-owner@sourceware.org Received: (qmail 85110 invoked by uid 89); 21 Sep 2017 15:24:28 -0000 Authentication-Results: sourceware.org; auth=none X-Virus-Found: No X-Spam-SWARE-Status: No, score=-2.6 required=5.0 tests=AWL,BAYES_00,RCVD_IN_DNSWL_LOW,SPF_PASS autolearn=ham version=3.3.2 spammy=Hx-languages-length:1423 X-HELO: aibo.runbox.com Received: from dns3.teletopia.net (HELO aibo.runbox.com) (91.220.196.211) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with ESMTP; Thu, 21 Sep 2017 15:24:24 +0000 Received: from [10.9.9.211] (helo=mailfront11.runbox.com) by mailtransmit02.runbox with esmtp (Exim 4.86_2) (envelope-from ) id 1dv3Ko-0005k3-F8; Thu, 21 Sep 2017 17:24:14 +0200 Received: from 70-36-239-144.dsl.dynamic.fusionbroadband.com ([70.36.239.144] helo=localhost.localdomain) by mailfront11.runbox.com with esmtpsa (uid:757155 ) (TLS1.2:DHE_RSA_AES_128_CBC_SHA1:128) (Exim 4.82) id 1dv3KO-0003Ga-Nv; Thu, 21 Sep 2017 17:23:48 +0200 Subject: Re: no class-of ? To: Sonny To , Kawa mailing list References: From: Per Bothner Message-ID: Date: Thu, 21 Sep 2017 15:24:00 -0000 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:52.0) Gecko/20100101 Thunderbird/52.3.0 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 7bit X-IsSubscribed: yes X-SW-Source: 2017-q3/txt/msg00074.txt.bz2 On 09/21/2017 04:11 AM, Sonny To wrote: > there seems to be class-of function to get the type of the r-value of a symbol. You can use the Java getClass method: (VALUE:getClass) or: (invoke VALUE 'getClass) or the "property" short-hand: VALUE:class > I'm not familiar with with the standard libraries of scheme and i'm > googling to get documentation and find various scheme documentation > from mit-scheme/racket/guile but are not available in kawa. > > Is there a place where I can find a list of functions built into kawa? The Kawa manual attempts to document all the Kawa functions. In the past I concentrated on documenting only Kawa extensions/differences from standard Scheme (so you needed to also have a copy of R5RS/R7RS), but I'm gradually making the Kawa manual more complete and self-contained. (There may still be some R7RS procedures missing, though.) There are also some implemented SRFIs, not all of which are fully documented in the Kawa manual. See: https://www.gnu.org/software/kawa/Implemented-SRFIs.html Of course all of the Java APIs are always available, by using Java method calls: https://docs.oracle.com/javase/8/docs/api/overview-summary.html That is where you will find getClass documented: https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html#getClass-- (the final '--' in the URL seems to be needed.) -- --Per Bothner per@bothner.com http://per.bothner.com/