Using MongoDB and Haskell

Posted on Tuesday, July 15, 2014

Haskell is a fun language. I've just started learning it and it's been a bit of a bumpy start because of the unfamiliar syntax. There are a lot of funny symbols to get accustomed to, new concepts and a unique type system (hey maybe it's not unique, but compared to most mainstream languages it definitely feels that way).


Yield Return in C#

Posted on Wednesday, April 23, 2014

In c# you can use yield return instead of declaring a collection, adding to it then returning it all at once. The code ends up looking a lot cleaner as you can see in the examples below.


Guide to Writing Custom Functions in Excel - Part IV XLL Add-in

Posted on Friday, July 29, 2011

We've looked at VBA, Automation Add-ins, and RTDs in previous posts. XLLs are significantly faster, and allow the developer to define the names/parameters of the functions. They're also not that difficult to implement, although setting up the definitions of your functions can be a bit tricky. Unlike the other C++ add-ins, the XLL is not a COM server, it uses the Excel C API.