Il giorno mer 21 nov 2018 alle ore 19:22 David Larsson <
[email protected]> ha scritto:

> Hi,
> I installed the guile-bash package and tried to use it as below but
> can't get it to work. Anyone who is successfully using it?
>
> So far, I have done:
> guix package -i guile-bash
> enable -f ~/.guix-profile/lib/bash/libguile-bash.so scm
>
> then created the file example.scm with the following content.
> (use-modules (gnu bash))
> (define-bash-function (dtach-start-emacs)
>     (unless (file-exists? "/tmp/emacs.dtach")
>       #$ [dtach -n /tmp/emacs.dtach emacs]))
>
> and then ran: scm example.scm
>
> which gave the following error message:
> ;;; compiling /home/user1/src/code_guile/example.scm
> ;;; WARNING: compilation of /home/user1/src/code_guile/example.scm failed:
> ;;; ERROR: In procedure scm_lreadr: example.scm:18:8: Unknown # object:
> #\$
> ERROR: In procedure scm_lreadr:
> /home/user1/src/code_guile/example.scm:18:8: Unknown # object: #\
>
> Not sure what's missing. All suggestions appreciated.
>
> --
> Regards
> David Larsson
>
>
It seems the reader gets confused by

#$

I don't now how guile-bash is supposed to be used
I didn't know guile-bash existed and I can't find it anywhere on line

All that said, you could try asing on the guile users mailing list

Maybe there's someone, there, who's not following guix related things

Reply via email to