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?

Was it helpful?

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.

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top