File: lambda

package info (click to toggle)
gp2c 0.0.11pl1-1
  • links: PTS
  • area: main
  • in suites: buster
  • size: 2,792 kB
  • sloc: ansic: 8,398; sh: 1,687; lex: 340; yacc: 215; makefile: 140
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)))