[racket] Planet Cute in the teaching languages

From: Robby Findler (robby at eecs.northwestern.edu)
Date: Tue Aug 27 16:41:04 EDT 2013

It should be. The program from the docs (as below) produces the expected
image in the teaching languages in the git head version, at least.


(require 2htdp/planetcute)
(require 2htdp/image)
; stack : non-empty-list-of-images -> image
; stacks 'imgs' on each other, separated by 40 pixels
(define (stack imgs)
    [(empty? (rest imgs)) (first imgs)]
    [else (overlay/xy (first imgs)
                      0 40
                      (stack (rest imgs)))]))
 (stack (list wall-block-tall stone-block))
 (stack (list character-cat-girl
              stone-block stone-block
              stone-block stone-block))
 (stack (list grass-block dirt-block))
 (stack (list grass-block dirt-block dirt-block)))

On Tue, Aug 27, 2013 at 8:14 AM, Jens Axel Søgaard <jensaxel at soegaard.net>wrote:

> Is it possible to use Planet Cute in the teaching languges?
> From the documentation I get the feeling there is supposed
> to be a teachpack, but I can't find any.
> After  (require 2htdp/planetcute) using any identifiers from
> the module provokes an error.
> http://docs.racket-lang.org/teachpack/2htdpPlanet_Cute_Images.html
> --
> Jens Axel Søgaard
> ____________________
>   Racket Users list:
>   http://lists.racket-lang.org/users
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.racket-lang.org/users/archive/attachments/20130827/908f63c1/attachment-0001.html>

Posted on the users mailing list.