Not logged in
Log in now
Create an account
Subscribe to LWN
Deadline scheduling: coming soon?
LWN.net Weekly Edition for November 27, 2013
ACPI for ARM?
LWN.net Weekly Edition for November 21, 2013
GNU virtual private Ethernet
foo 1 (-2) is parsed as ((foo 1) (-2))
(in Haskell all functions really take exactly one argument; here foo would take an integer and return a function taking an integer, i.e. the type would be Integer -> Integer -> a)
foo 1 -2 would get parsed as (foo 1) - 2, so foo needs to be a function of the type Integer -> Integer.
Little things that matter in language design
Posted Jun 10, 2013 0:32 UTC (Mon) by marcH (subscriber, #57642)
This page for instance shows a good few interesting syntax examples in a quite short space
Copyright © 2013, Eklektix, Inc.
Comments and public postings are copyrighted by their creators.
Linux is a registered trademark of Linus Torvalds