[racket] Exercise 76
Here is a start:
(define-struct editor [text index])
;; An Editor is a structure:
;; (make-editor String Number)
;; interpretation: (make-editor t i) means that the editor currently contains the text t and that the cursor sits between the i-th and the (i+1)-st character in t.
Q1: Why don't you show us your data example so that we can see whether you are on the right track?
Q2: Challenge: What conditions must i satisfy for the interpretation to make sense?
-- Matthias
On Dec 20, 2014, at 11:51 PM, <austinjeffreywolfe at gmail.com> wrote:
> I am having trouble finding the solution to exercise 76 for “Fixed-Sized Data” and would like to find the code to compare mine to. Any idea where to go or if there is a list somewhere. Thanks
>
> Austin
>
> ____________________
> 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/20141224/83d1405e/attachment.html>