[racket] modules: require and provide behaviour
Hi Harry,
I'm a little confused, and need a little bit more information.
I'm assuming that the first file in your message is
'imagemagick_interface.rkt'. Is it the file that constructs the GUI,
and provides the function 'get-devanagari-page'?
When you show the content of another file called 'get-devanagari-page.rkt':
----------------------------
#lang racket/gui
(require "imagemagick_interface.rkt")
(require "get-devanagari-page.rkt")
get-devanagari-page
----------------------------
something strikes me as wrong here: there's a circular import, as if
the file itself is called 'get-devanagari-page.rkt', then it appears
to be trying to require itself. That doesn't look right. Are you
sure that's the content of this file?