Hi Michael,

I bumped into this issue too. Essentially the Let member has been removed from the workflow builder compilation. See the thread here. Would using let! instead of let be problematic in your case?

regards,

Danny

By on 10/8/2008 2:07 AM ()

I suspected, although the rest of the spec and the implementation of Let in the other builders threw me off.

Well the problem is that I want this auto-checking after every expression, for example:

1
2
3
4
let a = attempt { 
            do printf "Input:"
            let x = Console.ReadLine()
            return! failIfBig 10 }

I'd want it to fail depending on an external variable at each line, not just when calling another attempt.

I can actually get this behaviour by changing the signature for Bind to be the same as Let. But then I can't use let! with other attempts, which ends up being somewhat annoying.

Although, perhaps I should shift my problem around a bit to get a better overall solution...

By on 10/8/2008 6:40 AM ()
IntelliFactory Offices Copyright (c) 2011-2012 IntelliFactory. All rights reserved.
Home | Products | Consulting | Trainings | Blogs | Jobs | Contact Us | Terms of Use | Privacy Policy | Cookie Policy
Built with WebSharper