ZachBray/FunScript — pull request #25 by tpetricek (2012-12-16 00:58:49+00:00)
Title: Library improvements

This pull requests adds:

* Simple F# `async` (single-threaded, mainly for implementing UIs with a fairly basic implementation that mostly mirrors standard F# implementation and tries to avoid StackOverflow exceptions - due to the lack of tail-calls - by dropping the stack using `setTimeout`)

* Simple async example (which does not yet work, because of the troubles with overload resolution - I will look into that next); I'm unsure how to best test this, so there is just a single test that checks that async code compiles without errors. Any hints would be appreciated (perhaps we could use Fahad's approach and run the code in a hosted IE WinForms component?)

* Some more functionality from the .NET and F# String API with passing tests (the Jint has some bugs there, but I wrote tests that test what we need and work).