Hi all,

As you may be aware, in diagrams 2.0 it will be possible to access and edit
subdiagrams via lenses/traversals.  So for example, consider

d :: Diagram V2
d = hcat (zipWith (.>>) "ABCDE" (replicate 5 (circle 1))) # fc blue

which produces

[image: image.png]
We can edit the diagram like so:

main :: IO ()
main = mainWith Rasterific $ d # (named 'C' %~ fc red) # frame 1 # bg white

which produces

[image: image.png]
Now, consider this code:

main :: IO ()
main = mainWith Rasterific $ d # (named 'C' %~ scale 2) # frame 1 # bg white

*What image do you think will result?  What image do you think should
result?*

It's probably obvious that I'm asking because I think the foregoing two
questions may have different answers.  But I don't want to bias the results
by telling you what I think yet.  Once I get some responses I'll follow up
with another email getting into more of the technical details. =)

-Brent

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

Reply via email to