PasteRack.org
Paste # 62544
2018-04-14 13:50:04

Fork as a new paste.

Paste viewed 633 times.


Embed:

  1. lang racket
  2. (define names
  3.   (let ([ns (make-base-empty-namespace)])           ; make namespace with racket/base attached
  4.     (parameterize ([current-namespace ns])
  5.       (namespace-require 'racket)
  6.       (namespace-mapped-symbols))))
  7.  
  8. (length names)
  9.  
  10. (sort names (λ (x y) (string<=? (~a x) (~a y))))

=>

load-handler: expected a `module' declaration for `pasterack' in "paste 62544", but found something else

Check that paste includes #lang?