Welcome to MSDN Blogs Sign in | Join | Help

jaredpar's WebLog

Code, rants and ramblings of a programmer.

Syndication

News

Now Reading

Expert F#

What's a better book to read when learning F#?

Essential WPF

Thus far the best book I've read on WPF. Gets right down to working with WPF and the goals/history.

Purely Functional Data Structures

Reading this book makes me feel like I'm back in college. It will really get your mind going and is best read with a whiteboard handy.

Blog Roll

Eric Lippert
Dustin Campbell
Jon Skeet
Coding Horror
Brian McNamara
Brian Bondy
Hub FS
Full List

Browse by Tags

All Tags » PowerShell » LINQ   (RSS)
Simulating Closures in PowerShell
Previously I blogged about PowerShell’s lack of closure support within a script block.  This presents a significant hurdle in developing a LINQ like DSL for powershell which I’ve been working on.  Imagine the following syntax $a = from it in Read More...

Posted Monday, February 02, 2009 8:00 AM by Jared Parsons | 0 Comments

Filed under: ,

PowerShell LINQ: Take-Count and Take-While
The Take pair of functions are very similar to the Skip functions .  The Take expression does essentially the opposite of the Skip functions.  Skip is useful for getting elements further down the pipeline.  Take is used for getting elements Read More...

Posted Friday, January 16, 2009 8:00 AM by Jared Parsons | 2 Comments

Filed under: , ,

PowerShell LINQ: Skip-While
Next up in the PowerShell LINQ series is SkipWhile .  This LINQ function takes an enumerable instance and a predicate.  The function will skip the elements in the enumerable while the predicate is true.  The argument to the predicate is Read More...

Posted Wednesday, January 14, 2009 8:00 AM by Jared Parsons | 2 Comments

Filed under: , ,

LINQ like functions for PowerShell: Skip-Count
The PowerShell pipeline, is fairly similar to C#/VB’s LINQ.  Both filter a group of elements through a series of transformations which produce a new series of elements.  The devil is in the details of course but I’ll get to that in a future Read More...

Posted Tuesday, January 13, 2009 8:00 AM by Jared Parsons | 2 Comments

Filed under: ,

Page view tracker