FP (programming language): Difference between revisions

Content deleted Content added
Danakil (talk | contribs)
Danakil (talk | contribs)
Line 7:
if '''x'''<sub>1</sub>,...,'''x'''<sub>n</sub> are '''values''', then the '''sequence''' &lang;'''x'''<sub>1</sub>,...,'''x'''<sub>n</sub>&rang; is also a '''value'''
 
These values can be built from any set of atoms: booleans, integers, reals, characters, etc. '''&#8869;''' is the '''undefined''' value, or '''bottom'''. Sequences are ''bottom-preserving'':
'''boolean''' : {'''T''', '''F'''}
'''integer''' : {0,1,2,...,&infin;}
'''character''' : {'a','b','c',...}
'''symbol''' : {'''x''','''y''',...}
 
'''&#8869;''' is the '''undefined''' value, or '''bottom'''. Sequences are ''bottom-preserving'':
 
&lang;'''x'''<sub>1</sub>,...,'''&#8869;''',...,'''x'''<sub>n</sub>&rang; = '''&#8869;'''