BSL (How to Design Programs): how to import code from a separate file into definitions area?

前端 未结 2 341
别跟我提以往
别跟我提以往 2021-01-21 07:05

I\'m having an issue with BSL. I want to divide my code into separate auxiliary files and use

(require \"auxiliary-function.rkt\") 

at the beg

2条回答
  •  无人及你
    2021-01-21 07:47

    BSL is not for you. If you know how to manage modules, I recommend you use full-fledged Racket.

    If you wish to create auxiliary libraries, I recommend you develop them in full Racket, provide the identifiers you need, use htdp/error to formulate error messages, and 'require' will then work.

提交回复
热议问题