Arjan van IJzendoorn wrote the function: > string_to_integer :: String -> Integer > string_to_integer = string_to_int_list .| int_list_to_integer Ralf Muschall answered: > (|.) = flip (.) > [..] > Where does the habit to use "flip (.)" in many FP people > come from? If you think of the (types of) functions as domino stones, |. makes them fit. .---------------------. | | | | string _to_integer | | | | .---------------------. .---------------------. .---------------------. | | | | | | = | string _to_int_list|.|| int_list_to_integer | | | | | | | .---------------------. .---------------------. Cheers, Ronny Wichers Schreur
- string to Integer Friedrich Dominicus
- Re: string to Integer Lars Lundgren
- Re: string to Integer Arjan van IJzendoorn
- Re: string to Integer Friedrich Dominicus
- Re: string to Integer Ralf Muschall
- Re: string to Integer Hamilton Richards
- Re: string to Integer Peter Hancock
- Re: string to Integer Ronny Wichers Schreur
- Re: string to Integer Ralf Muschall
- Re: string to Integer Ronny Wichers Schreur
- Re: string to Integer Ronny Wichers Schreur
- Re: string to Integer Yuichi Tsuchimoto
- Re: string to Integer Jon Fairbairn
- Re: string to Integer George Russell
- Re: string to Integer Frank Atanassow
- Re: string to Integer Frank Atanassow
- lst[x] Sitzman
- Re: lst[x] Sitzman