Question

I'm learning F#, and keep accidentally writing infinitely recursive functions..

When I call these in F# Interactive (FSI) through Visual Studio (2010 or 2012), I can't find a way to get out of it other than to restart Visual Studio. Is there any other - ideally faster - way out?

Était-ce utile?

La solution

Right click in the F# interactive window, and select Reset Interactive Session.

Cancel Interactive Evaluation should also work for you if you just want to cancel the current running function but to keep previous results.

Licencié sous: CC-BY-SA avec attribution
Non affilié à StackOverflow
scroll top