google / clojure-turtle

A Clojure library that implements the Logo programming language in a Clojure context
Apache License 2.0
426 stars 41 forks source link

issue #20 - fixes clean behavior by adding :start-from to Turtle record #21

Closed echeran closed 8 years ago

echeran commented 8 years ago

This commit contains changes that solve the current aberrant behavior that occurs following (clean).

For the record: the implementation follows the proposed strategy on the issue page for #20 for the most part. (When it came time to implement, there didn't seem to be an easy way to refactor as originally proposed, so get-turtle-sprite was left untouched. No biggie.)