Confirmed! Thank you for looking into this. I don't recall what that was
for anymore but it doesn't seem like such a thing should be necessary
anymore.

Robby

On Thursday, May 7, 2015, gfb <[email protected]> wrote:

> Since the change for PR 15049, value turtle snips don't display anymore,
> instead there's an error.
>
> #lang racket ; Also happens in ISL.
> (require graphics/value-turtles)
> (define tv (turtles 100 100))
> tv ; error:
>
>   put in editor-stream-out%: bad argument combination:
>   "(100 100 (#(struct:turtle (50 50 0))) #(struct:offset (0 0 0)) ())"
>
> The backtrace for builtin shows it getting to  make-snip-special  in:
>   /share/pkgs/gui-lib/framework/private/text.rkt: 2234:2
>
> Looking at the code for graphics/value-turtles they can't save properly:
> in particular the code for writing uses a method that doesn't exist.
> Copying a turtle snip in the earlier racket version 6.2.0.2 generates a
> similar error, as does (unsurprisingly) trying to save the Interactions
> when it contains a turtle snip.
>
> I'm considering fixing the library, including making it rackety, but the
> only part I don't understand is what it's trying to accomplish with the
> global state of saved-turtles, for example there's the code:
>
> (unless saved-turtles
>   (error 'turtles "click execute before running the turtles"))
>
> If it can be confirmed that it just needs to work according to the
> documentation, both when installed as an htdp teachpack (Die Macht der
> Abstraktion doesn't depend on that library) or when required, then I'd go
> ahead.
>
> --
> You received this message because you are subscribed to the Google Groups
> "Racket Developers" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to [email protected]
> <javascript:_e(%7B%7D,'cvml','racket-dev%[email protected]');>
> .
> To post to this group, send email to [email protected]
> <javascript:_e(%7B%7D,'cvml','[email protected]');>.
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/racket-dev/a806166a-15eb-405e-a730-a2ea21d1b9f7%40googlegroups.com
> <https://groups.google.com/d/msgid/racket-dev/a806166a-15eb-405e-a730-a2ea21d1b9f7%40googlegroups.com?utm_medium=email&utm_source=footer>
> .
> For more options, visit https://groups.google.com/d/optout.
>

-- 
You received this message because you are subscribed to the Google Groups 
"Racket Developers" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/racket-dev/CAL3TdOOtKAcK44zJkaA3g1e6E4LgoEObKOGh26Nr_CQzCNyh4g%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to