Welcome to MSDN Blogs Sign in | Join | Help

Browse by Tags

All Tags » .NET » Functional   (RSS)
Sorry, but there are no more tags available to filter with.

Functional sort in C#

On an internal mailing list, we were discussing functional languages, and this Haskell sort code: qsort [] = [] qsort (x:xs) = qsort ( filter ( < x) xs) ++ [x] ++ qsort ( filter ( >= x) xs) While trying to explain how this code works (which is very
Posted by michen | 0 Comments
Filed under: ,
 
Page view tracker