Skip to content

Instantly share code, notes, and snippets.

@RhodiumToad
Created October 18, 2021 01:10
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save RhodiumToad/114bdf3f38d70c2c063827f08ae698e7 to your computer and use it in GitHub Desktop.
Save RhodiumToad/114bdf3f38d70c2c063827f08ae698e7 to your computer and use it in GitHub Desktop.
akren:~ % guile3 -q
GNU Guile 3.0.7
scheme@(guile-user)> (load "tst.scm")
;;; note: auto-compilation is enabled, set GUILE_AUTO_COMPILE=0
;;; or pass the --no-auto-compile argument to disable.
;;; compiling /home/andrew/tst.scm
WARNING: (gentst): `foo' imported from both (gentst1) and (gentst2)
;;; compiled /home/andrew/.cache/guile/ccache/3.0-LE-8-4.5/home/andrew/tst.scm.go
#<<generic> foo (1)>ice-9/boot-9.scm:1685:16: In procedure raise-exception:
No applicable method for #<<generic> foo (1)> in call (foo #<<gentst1> 8049eef30>)
Entering a new prompt. Type `,bt' for a backtrace or `,q' to continue.
(use-modules (oop goops))
(default-duplicate-binding-handler '(merge-generics replace warn-override-core warn last))
(add-to-load-path (dirname (current-filename)))
(use-modules (gentst))
(display foo)
(test)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment