Ralf Muschall wrote:
> And if I call the label on the stones "integer_from_string"
> and "integer_from_intlist", unflipped (.) does as well.
But then the question is which function name is more natural.
Arjen's choice of names reflects Haskell's syntax for function
types:
intlist_to_integer
:: [Int] -> Integer
Or look at o's and flippo's types:
(.) :: ((a -> b) -> (c -> a)) -> (c -> b)
flip (.) :: ((a -> b) -> (b -> c)) -> (a -> c)
Surely the second one is much cooler!
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
- Binary Search Tree debugging Sitzman
- Re: Binary Search Tree deb... Malcolm Wallace
