Re: How to use guile in a development process

2021-04-30 Thread Leo Butler
Tim Meehan writes: >> >> 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? I use geiser i

Re: How to use guile in a development process

2021-04-29 Thread Tim Meehan
Anthony - thanks for asking that question, I always wind up learning something interesting on this mailing list. On Wed, Apr 28, 2021 at 7:57 PM 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 i

Re: How to use guile in a development process

2021-04-29 Thread Jérémy Korwin-Zmijowski
Le jeudi 29 avril 2021 à 10:35 +1000, Anthony Quizon a écrit : > 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? I think there is not anything typical in the Guile community. I usually execu

Re: How to use guile in a development process

2021-04-29 Thread Adriano Peluso
Il giorno gio, 29/04/2021 alle 10.35 +1000, Anthony Quizon ha scritto: > 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

Re: How to use guile in a development process

2021-04-29 Thread Dr. Arne Babenhauserheide
Hi Anthony, I typically add doctests to the file (self-written) and bind F9 to running the file with --test. Here’s an example: https://hg.sr.ht/~arnebab/dryads-wake/browse/dryads-wake.w?rev=31cced555f13#L16 ;; for emacs (progn (defun test-this-file () (interactive) (save-current-buffer) (asyn

Re: How to use guile in a development process

2021-04-28 Thread Nala Ginrut
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