File: lambda

package info (click to toggle)
gp2c 0.0.14pl1-1
  • links: PTS
  • area: main
  • in suites: forky, sid
  • size: 3,180 kB
  • sloc: ansic: 8,608; sh: 1,630; lex: 347; yacc: 227; makefile: 107
file content (10 lines) | stat: -rw-r--r-- 267 bytes parent folder | download | duplicates (8)
1
2
3
4
5
6
7
8
9
10
two=fun_two;
three=fun_three;
add=fun_add;
sub=fun_sub;
mul=fun_mul;
power=fun_power;
disp=fun_disp;
init_lambda(); disp(mul(add(two,three),add(two,two)))
init_lambda(); disp(power(add(two,three),add(two,two)))
init_lambda(); disp(sub(mul(three,three),add(two,two)))