[racket-dev] module->language-info and submodules
In all the cases I've tried, `module->language-info' returns `#f' when
passed a submodule path. Is that the intended behavior? If so, is there
a way to know which language a submodule is written in?
I've observed the same thing with `module-compiled-language-info'.
An example program is below.
Vincent
#lang racket
(displayln ; prints: #(racket/language-info get-info #f)
(module->language-info
'(lib "math/private/matrix/untyped-matrix-arithmetic")
#t))
(displayln ; prints: #f
(module->language-info
;; (module typed-multiply-defs typed/racket/base ...)
'(submod (lib "math/private/matrix/untyped-matrix-arithmetic")
typed-multiply-defs)
#t))