From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-vs1-xe2b.google.com (mail-vs1-xe2b.google.com [IPv6:2607:f8b0:4864:20::e2b]) by sourceware.org (Postfix) with ESMTPS id 61903385C407 for ; Mon, 31 Oct 2022 10:51:33 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.1 sourceware.org 61903385C407 Authentication-Results: sourceware.org; dmarc=pass (p=none dis=none) header.from=gmail.com Authentication-Results: sourceware.org; spf=pass smtp.mailfrom=gmail.com Received: by mail-vs1-xe2b.google.com with SMTP id k1so10649603vsc.13 for ; Mon, 31 Oct 2022 03:51:33 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=to:subject:message-id:date:from:mime-version:from:to:cc:subject :date:message-id:reply-to; bh=BW5MDpgvM1VTFEuMnlC9klebuF5NCnHL4XFoOSPq+34=; b=DCdUdcxh5CVVykdiprVdq4dC4km7KpwD95tAJ6m+9KpvnEBsLnuqufDdlhgNEXss60 2bQHfs8F/xucRBbJZABME5bPnvXLf3AaIjKpMWK5Rxvft/FXd3FXm9fd81Hxyn27tWPa 9uTSrkDpLddpROo8MZGDswyYQM6DXS2xn13kdGt/9BD9iO6a2dzjIwak2O8qbXUNhRkE 1nN67ZB5q22vj3bVU9OcFYjBhAdYlzwQN5OhX2SnpNpcfyDkSkEvTJ8cb/C//pTc8oIM e8zIna4F5mQpeSHH1vLqCHghBpSIF2cZ0sY7aBWV+bCKEbHraUnZAQJpol5NRYoOT1X9 1xOg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=to:subject:message-id:date:from:mime-version:x-gm-message-state :from:to:cc:subject:date:message-id:reply-to; bh=BW5MDpgvM1VTFEuMnlC9klebuF5NCnHL4XFoOSPq+34=; b=lMmVJdxmm3FYCZzeF0vW+QZnu10bC4p1EYq3nZfiCOWZQSVStBS+dWokOYXXsJHCYO JJ30czAt0UmvbM7w0ASckbhrzoa5rCZ3Gv0yAW2PlmyI5JbFWcsomJYp6vFgoGyCDhem uMTnXVbwh5CFopZROpJELGLrs/lKJ7TFuxKAjF9WmuNBjtQjJC0bogp3wbAfxf4jVixF 98Fqmzcg/kJHu3dwDQAJamChJBFe3HwocPRafWL3KBixUqLpE2GlxOwgll/akDbtFikA 2QzAbxS4M7N+pxbWzcO9yc6FdMynb/Tw1VzwJMLOYfPzILk0E7vW39ZftYtByArqB2h2 9gtQ== X-Gm-Message-State: ACrzQf0I+5LfChQ76QBjDxclWKHgpB9f5xmXU2Jqiqb7AriSckXXavfT qH5O0NHOwicv0EowPhDzqd8ZFHLvGw++MSMyWl//yr5F X-Google-Smtp-Source: AMsMyM6axF8nERqEQ3wbzquY2yulLvQ3yQ8a9vsoQ4iDWwSSFDLWysEd3Y8ndBpQ5AUETFBqxhbmZb7hwjgooQ/jMjY= X-Received: by 2002:a67:f8d8:0:b0:3aa:8690:8646 with SMTP id c24-20020a67f8d8000000b003aa86908646mr3680903vsp.78.1667213492549; Mon, 31 Oct 2022 03:51:32 -0700 (PDT) MIME-Version: 1.0 From: Panicz Maciej Godek Date: Mon, 31 Oct 2022 11:51:22 +0100 Message-ID: Subject: Environment initialization on Android To: kawa@sourceware.org Content-Type: multipart/alternative; boundary="000000000000fcfe8005ec5263f0" X-Spam-Status: No, score=-0.5 required=5.0 tests=BAYES_00,DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,FREEMAIL_FROM,HTML_MESSAGE,RCVD_IN_DNSWL_NONE,SPF_HELO_NONE,SPF_PASS,TXREP autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on server2.sourceware.org List-Id: --000000000000fcfe8005ec5263f0 Content-Type: text/plain; charset="UTF-8" I've been fiddling with an Android app built with Kawa, and running Kawa, and I've noticed something weird: when I make a "global definition" (in the module containing the definition of Android's activity), then the object bound to a given name is a null - if it's a 'compound object' (like StringBuilder or parameter object, or an object created by define-simple-class). But there are some exceptions: if I use objects such as an integer number or a string, then dereferencing them yields the right values. My bet is that there must be some difference between JVM and Android - and that perhaps I need to initialize something manually in order to have access to the compound objects. Can anyone help? The current source file of my app is here: https://github.com/panicz/grasp-android/blob/master/stages/retreat/GRASP/src/grasp-android.scm --000000000000fcfe8005ec5263f0--