March 2008 - Posts

Covariance and Contravariance
30 March 08 04:21 PM | MattManela | 0 Comments   
I just finished reading the series of ten blog posts by Eric Lippert about covariance and contravariance . These topics were new to me but after reading this blog series it all made sense. It finally explained to me why some things which I thought I should Read More...
Filed under:
Modifying IL of an existing assembly
23 March 08 09:46 PM | MattManela | 1 Comments   
Any one who programs in .NET is well aware of Lutz Roeder's .NET Reflector . It is a tool which allows you to disassemble .NET assemblies in to IL, C#, Visual Basic and several other languages. This tool also supports many add-ins which add cool features Read More...
Filed under: ,
Lazy Prime Number Sieve in C#
16 March 08 11:28 PM | MattManela | 2 Comments   
In my last post I talked about a Stream class for creating efficient lazy lists in C#. In addition, I showed several classic functional methods I ported to C# to be used on the lazy lists. As I mentioned in that post, I will now talk about an example Read More...
Filed under: , ,
Digging deeper into C# Lazy Lists
14 March 08 11:47 PM | MattManela | 2 Comments   
One of the most interesting aspects of the Haskell language is the fact that features lazy evaluation. My interest in lazy evaluation led me to a post on Wes Dyers blog about lazy lists in C#. In his blog post he talks describes how to create a lazy list Read More...
Filed under: , ,
Palindrome Creator in Haskell
09 March 08 08:53 PM | MattManela | 0 Comments   
The past few days I have been solving problems at this site called Project Euler . This site contains many seemingly simple math programming problems. I have been using Haskell to solve the problems on the site and in order to help solve one of the problems Read More...
The best game EVER
08 March 08 04:53 PM | MattManela | 1 Comments   
Note: This post may be subject to gross use of hyperbole. By far the best game in the history of man is: Fuel Pipe on Skype Skype has a bunch of built in games which you can play with the person to whom you are talking. These games are good since they Read More...
Filed under: ,
Useful LINQ Method- GetMemberTypeChain
06 March 08 11:18 PM | MattManela | 1 Comments   
Recently, I have been working on a custom LINQ provider in C#. In a later post (when I have more time to write) I will go in depth into what I am worked on and what have I learned about writing a LINQ provider. But for now I will present a simple function Read More...
Filed under: , ,
Understanding Variable Capturing in C#
01 March 08 11:21 AM | MattManela | 2 Comments   
With the addition of anonymous delegates in C# 2.0 and with lambda expressions in C# 3.0 you might have been hearing a lot about variable capturing. This is the mechanism in which the delegate/lambda which was defined inline is able to hold on to any Read More...
Filed under: ,
Page view tracker