music-suite / music-score

This repo has been merged into: https://github.com/music-suite/music-suite
http://music-suite.github.io
BSD 3-Clause "New" or "Revised" License
52 stars 10 forks source link

durationsV/valuesV breaks lens law #340

Closed hanshoglund closed 4 years ago

hanshoglund commented 9 years ago

If too long lists are used.

>>> let a = mconcat [c..e] :: Voice Pitch
>>> set valuesV [c,d,e,f::Pitch] a
[(1,c)^.note,(1,d)^.note,(1,e)^.note]^.voice
>>> set durationsV [1,2,4,5] a
[(1,c)^.note,(2,d)^.note,(4,e)^.note]^.voice
hanshoglund commented 4 years ago

This repo has been merged into: https://github.com/music-suite/music-suite

Closing :)