[CM] markov, produce

Johannes Quint johannes.quint at web.de
Tue Dec 18 03:59:20 PST 2007


something seems to be wrong with the 'produce'-key of the 'markov'- 
pattern:

in sal:

begin with test = make (<markov>, produce: list (list (:a, make  
(<cycle>, rhythms: {w})),
                                               list (:b, make  
(<cycle>, rhythms: {h. q})),
                                               list (:c, make  
(<cycle>, rhythms: {q q})),
                                               list (:d, make  
(<cycle>, rhythms: {h}))),
                         of: {{a -> b d} {b -> c d} {c -> c d b} {d - 
 > a b c d}})
   print next (test,100)
end

returns the ids instead of the values:

{b c c b c c b c b c b d d c b c d d b d d a b d a b c b c c b c b d  
c b c b c b d b d c c d d a d c d c b d b c c b c c c c b d c b c d a  
d a b c d a b c c b d d d b d a b c c b c c d a b d c b c c c}

is something wrong in my code or is it a bug?

johannes

_________________________

Johannes Quint
Rilkestr.55
D-53225 Bonn
0228 468256
johannes.quint at web.de
http://www.johannes-quint.de

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://cm-mail.stanford.edu/pipermail/cmdist/attachments/20071218/7a2004b1/attachment.html>


More information about the Cmdist mailing list