--
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 elm-discuss...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
Before embarking on a route like that, I guess I'd be curious what the goal is really. Perhaps the problem this is trying to address is that lift is an unpleasant name? I wonder how far we improve this just be calling it map?
--
I support the idea of calling lift map instead of lift used in FRP literature. This would be the same as fmap in Haskell.
For example:{Mouse.x + Mouse.y} => lift2 (+) Mouse.x Mouse.y{sqrt Mouse.x} => lift sqrt Mouse.x{{cos Mouse.x} + Mouse.x} => lift2 (lift cos Mouse.x) Mouse.yAnd it comes in handy to convert non-signal values to constant signals:{example Mouse.x 100 100} => lift3 example Mouse.x (constant 100) (constant 100)