FP (programming language): Difference between revisions

Content deleted Content added
Danakil (talk | contribs)
Danakil (talk | contribs)
Line 42:
and ('''h''' ⇒ '''f''';'''g'''):'''x''' = '''⊥''' otherwise
 
'''apply-to-all''' ''&alpha;'''''f''' where ''&alpha;'''''f''':&lang;'''x'''<sub>1</sub>,...,'''x'''<sub>n</sub>&rang; = &lang;'''f''':'''x'''<sub>1</sub>,...,'''f''':'''x'''<sub>n</sub>&rang;
 
'''insert-right''' /'''f''' where /'''f''':&lang;'''x'''&rang; = '''x'''
and /'''f''':&lang;'''x'''<sub>1</sub>,'''x'''<sub>2</sub>,...,'''x'''<sub>n</sub>&rang; = '''f''':&lang;'''x'''<sub>1</sub>,/'''f''':&lang;'''x'''<sub>2</sub>,...,'''x'''<sub>n</sub>&rang;&rang;
and /'''f''':&lang; &rang; = '''unit f'''
 
'''insert-left''' \'''f''' where \'''f''':&lang;'''x'''&rang; = '''x'''
and \'''f''':&lang;'''x'''<sub>1</sub>,'''x'''<sub>2</sub>,...,'''x'''<sub>n</sub>&rang; = '''f''':&lang;\'''f''':&lang;'''x'''<sub>1</sub>,...,'''x'''<sub>n-1</sub>&rang;,'''x'''<sub>n</sub>&rang;
and \'''f''':&lang; &rang; = '''unit f'''
 
[[es:FP (lenguaje de programación)]]