NFun icon indicating copy to clipboard operation
NFun copied to clipboard

Local variables

Open tmteam opened this issue 3 years ago • 0 comments

f(x) = 
     m = x*2
     m+x -1

sf(a,b,c) = 
    d = b**2 -4a*c
    return 
      if(d>0)
         (-b+ 2*a, -b- 2*a)
      else none

tmteam avatar Jan 23 '22 13:01 tmteam