Why would you ever use tuples as a build-in type
Name:
Anonymous
2017-10-03 16:09
when functions exist?
Name:
Anonymous
2017-10-03 16:57
you can do oop on tuples
Name:
Anonymous
2017-10-03 17:39
>>2You can do poo on functions.
Name:
Anonymous
2017-10-04 4:26
>>1Cause they are the universal datatype.
Anything can be represented as a tuple.
Name:
Why would you ever use function as a builtin type
2017-10-04 15:24
>>1When a
Function
is just a
Set
of
(Domain,Codomain)
Tuple
Name:
Anonymous
2017-10-04 21:59
Because a function is a set, while I may only need a single tuple.
Name:
George Kanto
2017-10-05 13:59
>>6Actually, a tuple (x,y) is just a set {{x},{x,y}}.
Name:
Anonymous
2017-10-05 18:18
>>7>sets have no order but you can MAKE THEM have order by turning n into n(n+1)/2
Name:
Anonymous
2017-10-05 19:17
>>8Whom are you trying to quote?
Name:
Anonymous
2017-10-05 21:40
Meme arrows != quotes
Name:
!Ps1ivhrO6w
2017-10-07 9:26
an external sorting algorithm applied to a set (and algorithms as types)
Name:
Anonymous
2017-10-09 18:08
>>7B... but not all sets are functions...
Name:
Anonymous
2017-10-10 1:13
Functions map elements form a set to another.
Name:
Anonymous
2017-10-10 18:24
>>7Sets are just classes that can be elements.
Newer Posts