summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorsiddharth <s@ricketyspace.net>2022-05-22 20:33:04 -0400
committersiddharth <s@ricketyspace.net>2022-05-22 20:33:04 -0400
commitbf6c8415e2e734527958a8399fbe6bc1033954c4 (patch)
treea44001454aeb69b5f2616fbb286d8bd620cfa851
parent03e38283cc3aebd455cbb192636486e6bd97e022 (diff)
sicp.org: add util. elisp function used for ex. 2.49
-rw-r--r--sicp.org6
1 files changed, 6 insertions, 0 deletions
diff --git a/sicp.org b/sicp.org
index 491dc65..5a65957 100644
--- a/sicp.org
+++ b/sicp.org
@@ -618,3 +618,9 @@ replaced by more refined models.
From above, if the original version of ~queens~ took time ~T~,
then Louis's version will take ~T^T~ to finish.
+**** 49
+***** util
+#+begin_src elisp
+(defun sr/painter-frame-coord (x y)
+ (list (/ x 500.0) (/ y 500.00)))
+#+end_src