Alexis, think of a lazy sequence as something that the rest of the program will 
explore. In addition to a GUI-based exploration, I would love to see a 
programmatic one. Imagine 

  (explore-lazy lazy-sequence:exp strictness-pattern:exp)

where (the value of) strictness-pattern is a function that pokes around 
lazy-sequence and displays. You could provide default strictness-pattern values 
and you could even provide strictness-patterns that dump values into a 
scrollable snip. But others could program their own strictness-patterns. The 
key would be to keep it simple. 

Note that contracts for lazy sequences could also check via strictness-patterns 
and memoize the exploration path. If the rest of the program re-explores it's 
cached in the proxy and if it goes beyond that exploration, consider it a 
contract violation. 

-- Matthias

-- 
You received this message because you are subscribed to the Google Groups 
"Racket Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to racket-users+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to