Elm syntax required

Could you explain to me what it means in the next statement by Elm?

(=>) = (,)

I found it in an example Elm Architecture Tutorial

+4
source share
1 answer

This is infix notation. This essentially defines the function

(=>) = \a b -> (a,b)

Then Infix is ​​used without parentheses, therefore

a => b == (a,b)
+10
source

Source: https://habr.com/ru/post/1625667/


All Articles