From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Anthony Quizon Newsgroups: gmane.lisp.guile.user Subject: How to use guile in a development process Date: Thu, 29 Apr 2021 10:35:42 +1000 Message-ID: Mime-Version: 1.0 Content-Type: text/plain; charset="UTF-8" Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="6860"; mail-complaints-to="usenet@ciao.gmane.io" To: guile-user@gnu.org Original-X-From: guile-user-bounces+guile-user=m.gmane-mx.org@gnu.org Thu Apr 29 02:57:22 2021 Return-path: Envelope-to: guile-user@m.gmane-mx.org Original-Received: from lists.gnu.org ([209.51.188.17]) by ciao.gmane.io with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1lbuzZ-0001fO-Si for guile-user@m.gmane-mx.org; Thu, 29 Apr 2021 02:57:21 +0200 Original-Received: from localhost ([::1]:34712 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1lbuzY-00013q-D5 for guile-user@m.gmane-mx.org; Wed, 28 Apr 2021 20:57:20 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:51636) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1lbuer-0007An-1u for guile-user@gnu.org; Wed, 28 Apr 2021 20:35:57 -0400 Original-Received: from mail-ot1-x332.google.com ([2607:f8b0:4864:20::332]:40730) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1lbuep-0007nt-Ci for guile-user@gnu.org; Wed, 28 Apr 2021 20:35:56 -0400 Original-Received: by mail-ot1-x332.google.com with SMTP id g4-20020a9d6b040000b029029debbbb3ecso27033419otp.7 for ; Wed, 28 Apr 2021 17:35:54 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:from:date:message-id:subject:to; bh=bRrN5EMCYhjIN/RQKPU3FdOjYmeisq4L/BaBIbv/wzY=; b=Mw4s3QugNDDigtAP2jS+JIOmLAiaIltrU6V/oMd3E7N0tN3weaFYQ6llDGEuJeJJXm YPPqPgypBHuQqaGeiEJieied1KNUf3L3UgDAkNsgoRRpr/x8bky4yM3VwKnI/zffEkt1 V1JIG3d/PiIxbnvx0qmpHXyRaW90u5oUHUoEpT7bOzveXVT6xAzX0nv3OwEmos00l0Xg 99keZRViiOU3LJlvRqvVLEj6gxw3l+dniv4EVVe//+oqbaJZbACF/NwQprwjpA2ImxaK JueZ7I5K0RrtKyX9lHznnhVO+ctPGiDNaSCBLh8xo0kDYUwTu8PB9aVfXg3X1GvJzRmq wl4A== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:from:date:message-id:subject:to; bh=bRrN5EMCYhjIN/RQKPU3FdOjYmeisq4L/BaBIbv/wzY=; b=ulQqWKtgr1HHoh1FnExTVEtnGBRWkOYmVk5w8J+F6sy4KOKrTipbbCdksi6NtcI1II ceZpb6mk39j5LUWJN8H5iAArxXg2OF8WJlbLyuIOPhdINNPG01R4jZC7sGwoBpdlv/BX 6RySMJypLZN7T5PpudazW3lR4qYzCj3+x1oAwlYjJM9vwzY4S1XjNJwITS97S/vuKaLI jxY5UDUYoL9Cu3SZOMlamelbP0azsawUnEZ2hghl3q9a8Mq0SY81nHoFuF5nb86MRvmC rmE0VG+v71ERbILJt/bV0e/IKkcUdcCmH4/kJ/HYZT3bdQWS9eAdMRKPdbo3PhRccH6e H09g== X-Gm-Message-State: AOAM531zJGyJiKa6L/E4pVY7K1sP4Ge/7gsjGtSKfzfk+gqbjv+FdM/6 D5fz52s4LTcB2ZlyXtidDqn3a+WAGOVytu9ot8M6ahq3as0wVw== X-Google-Smtp-Source: ABdhPJyJhsgkZZTxSkBJtS/KrTBrn56Pzw+wsKVwMPmLBQsWPIv0bk3BaCuiVwtmRZALPMta8Tx6e25gNO6akDH51Uk= X-Received: by 2002:a9d:5f19:: with SMTP id f25mr26419271oti.6.1619656553100; Wed, 28 Apr 2021 17:35:53 -0700 (PDT) Received-SPF: pass client-ip=2607:f8b0:4864:20::332; envelope-from=anthoq88@gmail.com; helo=mail-ot1-x332.google.com X-Spam_score_int: -17 X-Spam_score: -1.8 X-Spam_bar: - X-Spam_report: (-1.8 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, FREEMAIL_ENVFROM_END_DIGIT=0.25, FREEMAIL_FROM=0.001, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-Mailman-Approved-At: Wed, 28 Apr 2021 20:56:49 -0400 X-Content-Filtered-By: Mailman/MimeDel 2.1.23 X-BeenThere: guile-user@gnu.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: General Guile related discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guile-user-bounces+guile-user=m.gmane-mx.org@gnu.org Original-Sender: "guile-user" Xref: news.gmane.io gmane.lisp.guile.user:17466 Archived-At: Hello, I'm having trouble finding a good development process with guile. I have a file foo.scm and I'm trying to load it into the repl. However, I couldn't find any documentation on how to easily do this. I tried looking up ",help module" in the repl which told me to use ",load FILE". But when I tried this I got the error "In procedure primitive-load-path: Unable to find file "system/repl/foo.scm" in load path" I don't know where to look to change my load file for the repl. I read in a forum somewhere to add (add-to-load-path ".") in my .guile file but that didn't work. How do I load a file from the current path that I'm in? But more importantly, what is the typical workflow when using guile? Do people write files to the filesystem and load them in the repl to try it out? Or is there a faster way to do things? Thanks,