On Saturday, February 4, 2017 at 11:29:44 PM UTC, Pierre-Henri Trivier 
wrote:
>
> To anyone reading, I might have solved it myself : 
> https://phtrivier.github.io/2017/02/05/elm-tail-end-part-5.html
>

What you are referring to as a callback is often called a 'tagger' in Elm. 
I don't think this is an official name for it, just something I have seen 
in a few code bases I have peeked into, and a convention I have also 
adopted. Its a function to 'tag' values as msgs.

I would avoid the term callback, as its just a function. In imperative or 
OO programming you might call something a callback as it is a more exotic 
concept there. In FP its just functions calling functions.

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