jaredpar's WebLog

Code, rants and ramblings of a programmer.

Browse by Tags

Tagged Content List
  • Blog Post: Why is LINQ absent from debugger windows (Part 2)?

    Some readers may remember an article I published almost half a year ago about LINQ being absent from the debugger windows.  That post explored the initial design of the feature, it’s limitations and ultimately why it was absent but promised a future article on a slightly different approach. ...
  • Blog Post: Why is LINQ absent from debugger windows?

    As the owner of the VB.Net portion of the overall debugging experience, I frequently hear the request from customers to add LINQ support into the Watch / Immediate and Locals window. Virtually every other type of expression is available in the debugger windows so why leave one of the most popular ones...
  • Blog Post: 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 $source where {$it -gt 5 } This would be the...
  • Blog Post: 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 from the start of the pipeline.  #=====...
  • Blog Post: 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 the current value of the enumerable.  The LINQ...
  • Blog Post: 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 post.  When using PowerShell I constantly find...
  • Blog Post: Mapping LINQ to F#

    In my projects with F#, I often find that I know exactly what type of sequence transformation I want to run, yet I spend all of my time trying to find it!!!  The problem is I’m used to query comprehensions in LINQ terminology.  Select, Where and SelectMany are so ingrained into my programming...
Page 1 of 1 (7 items)