You can use pipelines in Elm; in fact they are preferred. Somewhat handwavey example:
getAuthToken |> andThen getHomepage |> andThen doBackgroundStuff |> andThen showResultsOfBackgroundStuff (Think of |> as a unix pipe.) This proposal is about backticks. As background, a function that's a word (most of them) is prefix, and a function that's a symbol like + is infix. Backticks can make a (two-argument) prefix function infix, but it does so with the opposite argument order of |>. I think this is a reasonable idea, but not a drop-dead-amazing idea, which seems to be the bar for language changes. -- 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.
