Closed hanyuone closed 8 years ago
This is supposed to happen, either do
var length_digit=00
circ successor(n)->[
cond ((~n)<)->var output = successor((~((~n)>))+0) / var output = (~((~n)>)+1)
output
]
out successor(length_digit)
Or if you want support for expression conds just tell me
Oh... that's what you're meant to do.
Can we make an extra keyword (ret
) for returns, or do we just do implicit returns?
var length_digit=111
circ trim(n)->[
cond (n<)->var test2=n/var test2=trim(n>)
test2
]
circ successor(n)->[
cond ((~n)<)->var test=successor(~((~(0+trim(n)))>))+0/var test=~((~(0+trim(n)))>)+1
test
]
out successor(length_digit)
@somebody1234 The error is happening again...
This happened with this code: