You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
[<TailCall>]let recfib a b =seq{yield a
yield! fib b (a + b)}letfibonacci= fib 01
But the following minor change produces the message: The member or function 'fib' has the 'TailCallAttribute' attribute, but is not being used in a tail recursive way.
[<TailCall>]let recfib a b =seq{yield a
iftruethenyield! fib b (a + b)}letfibonacci= fib 01