Decode.andThen should do what you want: 
http://package.elm-lang.org/packages/elm-lang/core/4.0.1/Json-Decode#andThen. 
The example given there seems very similar to what you're trying to do.

-- 
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