From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Nala Ginrut Newsgroups: gmane.lisp.guile.user Subject: Re: How to use guile in a development process Date: Thu, 29 Apr 2021 10:19:39 +0800 Message-ID: References: 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="29717"; mail-complaints-to="usenet@ciao.gmane.io" Cc: Guile User To: Anthony Quizon Original-X-From: guile-user-bounces+guile-user=m.gmane-mx.org@gnu.org Thu Apr 29 04:20:06 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 1lbwHe-0007cn-Gr for guile-user@m.gmane-mx.org; Thu, 29 Apr 2021 04:20:06 +0200 Original-Received: from localhost ([::1]:36466 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1lbwHd-0008Iq-Gy for guile-user@m.gmane-mx.org; Wed, 28 Apr 2021 22:20:05 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:39684) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1lbwHT-0008Ij-Ft for guile-user@gnu.org; Wed, 28 Apr 2021 22:19:55 -0400 Original-Received: from mail-lj1-x230.google.com ([2a00:1450:4864:20::230]:45674) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1lbwHR-0000Ae-47 for guile-user@gnu.org; Wed, 28 Apr 2021 22:19:55 -0400 Original-Received: by mail-lj1-x230.google.com with SMTP id d15so23326286ljo.12 for ; Wed, 28 Apr 2021 19:19:52 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=fnzyDzH9Y/CZ5S1tNqWNpxZgO2kJz35aZEIypnaUctY=; b=F2RXhBOfk4CYa3OhghzK5tm9MIMpLhZCGvVGIbKrOBdcHmdxMj8X96ZUZHWHY7w505 DmpBWZ6PF17P+N8j/mLY90W5VRpEMEHvmF/CkHsaf8XqdIL9ysS9H7A5Fl9S3Z5Wqhf2 hgo9uSTd0V7lxMeCF6rQK2WRzgY7iIb5dpDG8DsgDp4yktC5Hm7dVgI1KuPwCIacv9aR tbQDI4Cbh6SryTQCje9hVvgXASV5kcRQg3hitu6vtZxgmXRdyvFQT7rmKgapaReDtq1v eJKbryGAcwvbkuLtk1vY87JvnrZYj2qqr2dlMXDtEmPhtC0H/j0GY6Cnj6Zb/u0Ozp0+ QyBw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=fnzyDzH9Y/CZ5S1tNqWNpxZgO2kJz35aZEIypnaUctY=; b=rfGJxacZLwm7P/EEW3UmfAGbDsA+jQvObOfyhdELjJ4cqez5V30BDd4VZYibDlbwWb HvrIZWfh3/xdlW5nBoWuvvQWu1zvStp6NGN8XFgt5zoamUz+80jJnTmN3vhT9ATxoSrT UCaH0WG6m8hYRzYUmrpAMT9LVZ5UuivMwHwPgun+AevcsLQ8p+V00R3rWYM8hFBezvyw gpddAmfAWHIfQqTsuwBoDNdMUyXRhCuUtfPDENdQ80rV3kdqS4CggqLKgTxyXJItapMc wvxrCf/CkuSFGmNzGx6mSgBm0xJU6ZWjiO0FQ4hdq8heB1sUEqhWiJQseLf12OmbI+Sw zBKA== X-Gm-Message-State: AOAM533l92FnArqLbj7cz8X/Q8zlxAswb3XXCGjy9zVbW5D8oUKYz4kN kPm98RgnpMYV2itaP1mpNo/DayqXEIEjtlXMxMM= X-Google-Smtp-Source: ABdhPJxbm5ZftR93985g8RQtWgpBHDA8FZwXZcsXAAu88inIIq6gbPkzsSHMvNeFYHcq4ZtEUzB8Rhl+a+7C5Rd3/Ss= X-Received: by 2002:a2e:584d:: with SMTP id x13mr23310901ljd.292.1619662790863; Wed, 28 Apr 2021 19:19:50 -0700 (PDT) In-Reply-To: Received-SPF: pass client-ip=2a00:1450:4864:20::230; envelope-from=nalaginrut@gmail.com; helo=mail-lj1-x230.google.com X-Spam_score_int: -20 X-Spam_score: -2.1 X-Spam_bar: -- X-Spam_report: (-2.1 / 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_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-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:17468 Archived-At: Hi Anthony! You may use "guile -L ." to add the current path to the load path, then you can import the module. Best regards. On Thu, Apr 29, 2021, 08:57 Anthony Quizon wrote: > 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, >