At Tue, 20 Aug 2019 22:01:11 +0200, Štěpán Němec wrote:
> I notice that (require "../file.rkt") inside a module (#lang racket,
> v7.4) works, but (require "../file") doesn't ("no such file or
> directory" error).
> 
> As per <https://docs.racket-lang.org/guide/module-paths.html>,
> 'If the path has no suffix, ".rkt" is added automatically.'
> 
> Does the documentation differ from actual behaviour or am I missing
> something?

It looks to me like the Guide documentation is wrong there. A ".rkt"
suffix is added for an identifier-form path, like `racket/base`, but
not for a relative-path string like "../file".

-- 
You received this message because you are subscribed to the Google Groups 
"Racket Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to racket-users+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/racket-users/5d5ccb12.1c69fb81.79596.6738SMTPIN_ADDED_MISSING%40gmr-mx.google.com.

Reply via email to