FP (programming language): Difference between revisions

Content deleted Content added
Danakil (talk | contribs)
No edit summary
Danakil (talk | contribs)
Line 39:
 
'''condition''' ('''h''' ⇒ '''f''';'''g''') where ('''h''' ⇒ '''f''';'''g'''):'''x''' = '''f''':'''x''' if '''h''':'''x''' = '''T'''
and ('''h''' ⇒ '''f''';'''g'''):'''x''' = '''g''':'''x''' if '''h''':'''x''' = '''F'''
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;