3 ms·
What about a paren-less calling mechanism? main = putStrLn "hello"
by rtpg 12y ago
What about a paren-less calling mechanism?
main = putStrLn "hello"
- eru 12y agoPossible, and nice. But you lose the ability to easily specify a variable number of arguments.
- Sanddancer 12y agoShell languages seem to do just fine using spaces to easily specify a variable number of arguments.
- eru 12y agoYes. I forgot to mention that Haskell also supports partial application. Shell doesn't, so that's easier. And that's just talking about syntax. The type system complicates matters further.
- jakub_h 12y agoWell, there's always the Smalltalk approach.