I have simplified my data type to:

    type Music =
      Note Int
      | Rest Int
      | Seq Music Music
      | Par Music Music

I have attempted to write a Producer (see this gist 
<https://gist.github.com/newlandsvalley/733ced7c86b738732028b4480e83980e>) 
where the runtime crashes with:

    TypeError: _user$project$Producers$parseq is not a function

If I replace the recursive generation step in the parseq 
<https://gist.github.com/newlandsvalley/733ced7c86b738732028b4480e83980e#file-producers-elm>
 
Producer, then I get no crash, the check works (but of course on limited 
data).  Judging by the lack of any log output, I don't think I'm recursing 
forever - I wonder if perhaps it could be another manifestation of this 
<https://github.com/elm-lang/elm-compiler/issues/873> problem?

Any help gratefully accepted.

-- 
You received this message because you are subscribed to the Google Groups "Elm 
Discuss" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/d/optout.

Reply via email to