Browse by Tags

All Tags » Visual Basic (RSS)
A Hint and a Challenge
Ok, it's been quite a while since I issued the challenge to write the Y combinator in VB9 CTP without using recursive types, and no one has bitten yet (actually, the challenge was originally made to me by Erik Meijer and much of what I've done...

Posted Thursday, August 03, 2006 3:44 PM by brianbec | 3 comment(s)

Filed under: , ,

Late-Bound Fixed Point
I wasn’t sure I was going to report a version of Y using Object rather than explicit recursive types, but it turned out to be so easy and pretty that I couldn’t resist. It’s rather a dead-end, evolutionarily speaking, since future development will use...

Posted Tuesday, June 06, 2006 7:38 AM by brianbec | 1 comment(s)

Filed under: , ,

Finally Factorial Fixed Point
Ok, we have almost everything on hand to write a clean and honest recursion-free factorial in VB, albeit with recursive types. I actually struggled with this for some time, the problem being that we have functions of Long to Long —call those of type df...

Posted Monday, June 05, 2006 7:55 AM by brianbec | 3 comment(s)

Filed under: , ,

Rebirth of the Y
Let’s review the bookends of our so-far successful foray into recursion elimination. The general theme has been replacement of recursive calls by self-application of functions adhering to recursive types . (Now, I think we can even eliminate the recursive...

Posted Sunday, June 04, 2006 9:08 PM by brianbec | 1 comment(s)

Filed under: , ,

Closures without Closures; Currying without Currying
Last installment, we found we could write a factorial function with a function call in the recursive branch, but not a recursive call. This ‘nearly recursive’ style allows us to write factorial without using its name. We just assume we have a free-variable...

Posted Friday, June 02, 2006 11:12 PM by brianbec | 1 comment(s)

Filed under: , ,

Lambdas, Closures, Currying, and All That
Behind the scenes, I’m working on the lambda-execution mode for the IQ97. I’m hoping for a few tweaks to VB and LINQ before I can do this satisfactorily, but I can take the opportunity now—with the current CTP —to illustrate the general technique of defining...

Posted Thursday, June 01, 2006 5:04 PM by brianbec | 4 comment(s)

Filed under: , ,

IQ97 Deployment Error Fixed
Get new drop: current VB9 Customer Technology Preview ( CTP ) . Copy the database Saturn5_002.mdf and Saturn5_002_log.LDF to c:\. Zipped VB9 project directory tree . Apologies ... the previously posted versions of IQ97 were missing a source file, specifically...

Posted Friday, May 26, 2006 1:31 PM by brianbec | 1 comment(s)

Filed under: ,

More Posts