see lang/guile16 and lang/guile. Basically guile16 installs an older guile in a non-conflicting way. This isn't what you want exactly, probably, but it's likely a helpful example.
Attachment: pgphPPLT4LYOs.pgp Description: PGP signature