PasteRack.org
Paste # 99509
2024-08-26 15:12:37

Fork as a new paste.

Paste viewed 334 times.


Embed:

#lang racket
(define iu .)
;(require 2htdp/image)
(require 2htdp/universe)

(define small-iu (scale .5 iu))


(define life-the-universe-and-everything 42)


(define (spin-iu degrees)
  (overlay
   
   (rotate (* 4 degrees) small-iu)
   (circle 100 "solid" "blue")))

(rotate 45 small-iu)

=>

#<syntax:/home/pasterack/pasterack/tmp/99509/99509code.scrbl:5:0 "#lang racket">:2:12: read-syntax: unexpected `)`
  context...:
   /home/pasterack/racket88/collects/syntax/module-reader.rkt:214:17: body
   /home/pasterack/racket88/collects/syntax/module-reader.rkt:211:2: wrap-internal
   /home/pasterack/racket88/collects/racket/../syntax/module-reader.rkt:76:9: wrap-internal/wrapper
   /home/pasterack/racket88/share/pkgs/scribble-lib/scribble/private/manual-code.rkt:138:19: loop
   /home/pasterack/racket88/share/pkgs/scribble-lib/scribble/private/manual-code.rkt:112:0: get-tokens
   /home/pasterack/racket88/share/pkgs/scribble-lib/scribble/private/manual-code.rkt:56:0: typeset-code
   body of "/home/pasterack/pasterack/tmp/99509/99509code.scrbl"
   .../private/map.rkt:40:19: loop
   .../racket/cmdline.rkt:191:51
   body of "/home/pasterack/racket88/share/pkgs/scribble-lib/scribble/run.rkt"