Skip to content

Instantly share code, notes, and snippets.

@kiranandcode
Created October 10, 2025 20:26
Show Gist options
  • Save kiranandcode/9f321f1e86d90dc27531dd59e265af7e to your computer and use it in GitHub Desktop.
Save kiranandcode/9f321f1e86d90dc27531dd59e265af7e to your computer and use it in GitHub Desktop.
slide-visual.rkt
(module slide-visual racket
(module slide-wrapper-linker racket
(require "viewer.rkt" slideshow/param slideshow/sig slideshow/cmdline)
(define custom-linker
(lambda (core@)
(println "calling custom linker")
(compound-unit
(import)
(export CORE CMDLINE VIEWER)
(link [((CONFIG : config^) (CMDLINE : cmdline^)) cmdline@]
[((CORE : core^)) core@ CMDLINE VIEWER]
[((VIEWER : viewer^)) visual-viewer@ CMDLINE CORE])
)))
(current-slideshow-linker custom-linker))
(require 'slide-wrapper-linker
slideshow/widescreen/base
slideshow/pict)
(provide
(except-out (all-from-out racket
slideshow/widescreen/base
slideshow/pict)
printable<%>)))
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment