aboutsummaryrefslogtreecommitdiffstats
path: root/support
diff options
context:
space:
mode:
authorDavid Robillard <d@drobilla.net>2010-08-19 22:34:22 +0000
committerDavid Robillard <d@drobilla.net>2010-08-19 22:34:22 +0000
commit594370a2a381545aea8d0631a86f422f84ee2792 (patch)
treebe71de4a2d9ec83d634c6978daa38c76428b58e7 /support
parent60f4383ee1df7c326ac887b7c1750575c3becbb8 (diff)
downloadresp-594370a2a381545aea8d0631a86f422f84ee2792.tar.gz
resp-594370a2a381545aea8d0631a86f422f84ee2792.tar.bz2
resp-594370a2a381545aea8d0631a86f422f84ee2792.zip
Generalise `cons': a call to any symbol beginning with an uppercase character
(i.e. a type symbol), e.g. (Thing 2), is a call to a type constructor which creates a Tup containing the arguments, with the symbol as the first element in the type expression, e.g. (Thing 2) has type (Thing Int) and compiles to a tuple containing a single Int. The type constructor `Tup' can be used as a `cons' replacement to construct generic tuples. git-svn-id: http://svn.drobilla.net/resp/resp@264 ad02d1e2-f140-0410-9f75-f8b11f17cedd
Diffstat (limited to 'support')
0 files changed, 0 insertions, 0 deletions