[racket] Is it necessary to add #lang racket in module?
No,
#lang racket
(provide run)
(define (run x) x)
is exactly the same as
(module <synthetic name> racket
(provide run)
(define (run x) x))
On Feb 27, 2014, at 4:25 AM, Haulyn Jason wrote:
> Hi,
>
> I am writing some modules, is it necessary to add #lang racket before my module code?
>
> my module is like:
>
> (module my-module racket
> (provide run)
>
> (define (run)
> (printf "it works")
> )
> )
>
> Thanks.
> ____________________
> Racket Users list:
> http://lists.racket-lang.org/users