PasteRack.org
Paste # 84790
2016-07-15 12:40:21

Forked from paste # 38782.

Fork as a new paste.

Paste viewed 260 times.


Embed:

#lang racket

(define (generate) 
  (for/list ((i (in-range 3)))
            (for/list ((i (in-range 6)))
                      (- (random 13) 5)))

(define r (generate))

(for-each displayln r)
                      

=>

prog:3:0: read: expected a `)' to close `('
  possible cause: indentation suggests a missing `)' before line 8
  context...:
   /home/pasterack/racket64/collects/syntax/module-reader.rkt:185:17: body
   /home/pasterack/racket64/collects/syntax/module-reader.rkt:182:2: wrap-internal
   /home/pasterack/racket64/collects/racket/../syntax/module-reader.rkt:64:9: lang:read-syntax
   /home/pasterack/racket64/share/pkgs/scribble-lib/scribble/private/manual-code.rkt:112:0: get-tokens
   /home/pasterack/racket64/share/pkgs/scribble-lib/scribble/private/manual-code.rkt:56:0: typeset-code15