mpodwyso

Stories kicked by mpodwyso

Much Ado About Monads – Maybe Edition(codebetter.com)

submitted by mpodwysompodwyso(65) 3 years, 3 months ago

In the past I’ve extensively talked about creating monads, but not as much more around them in terms of why you might use them and what problems they are trying to solve. Since that time, I’ve been challenged by others to actually prove not only that it can be understood by everyone, but they are very useful as well. It’s been a form of geekery among us software professionals to say, “Whoopee! I’ve learned how to implement a monad to do x” without really explaining the reason why people should care. read more...

add a comment |category: |Views: 12

tags: another

Functional .NET 4.0 - Tuples and Zip(codebetter.com)

submitted by stribnystribny(225) 3 years, 6 months ago

F# vs .NET 4.0 read more...

1 comment |category: |Views: 380

tags: another

Functional .NET - Fighting Friction in the BCL with Directory.GetFiles(codebetter.com)

submitted by schalkvanwykschalkvanwyk(1335) 3 years, 7 months ago

The Issues There are several issues that lead me to come up with an alternative for this situation of getting all files in a directory. Arrays shouldn't be returned from method calls Processor intensive for iterating over large directory trees instead of calculating only what I need, when I need it Filtering is weak, and only uses file format patterns Access denied internal messages occur for no apparent reason which halts the method read more...

add a comment |category: |Views: 5

tags: another

Functional C# - Implementing Async Computations in C#(codebetter.com)

submitted by mpodwysompodwyso(65) 3 years, 7 months ago

As I covered earlier in my post Functional .NET - LINQ or Language Integrated Monads, I talked about using asynchronous computation expressions (monads) from C# 3.0. Brian McNamara, of the F# team, posted back in May about using them from C#. But since then, things have changed slightly. Before, I showed a basic example of how to utilize the F# libraries from C#, but let's go deep under the covers to see how this actually works. read more...

add a comment |category: |Views: 14

tags: another

Functional .NET - LINQ as a Monad(codebetter.com)

submitted by mpodwysompodwyso(65) 3 years, 7 months ago

As part of my talk at the Richmond Code Camp earlier in October, I had the opportunity to talk about how to implement functional aspects in C# 3.0. This talk revolved around such concepts as from mutable to immutable, from inheritance to functional composition, and the mind shift that is required. Part of this discussion involved very briefly a talk about monads. It's a very misunderstood part of computer science and one of the most powerful concepts to learn. Much like continuation passing style, this style is often maligned as a result. But, let's work to change that. read more...

add a comment |category: |Views: 71

tags: another

Functional C# Recap(weblogs.asp.net)

submitted by JemmJemm(9604) 3 years, 7 months ago

"Here are some resources that will be helpful in covering functional programming aspects as well as other topics covered." (Link collection) read more...

add a comment |category: |Views: 438

tags: another

ASP.NET MVC with NHaml - F# Edition(codebetter.com)

submitted by mpodwysompodwyso(65) 3 years, 7 months ago

As part of some of my adventures with F#, I've seen a lot of interesting things coming from others with regards to SharePoint, ASP.NET and other technologies. This had me thinking of any possibilities and ramifications of using F# with ASP.NET MVC. Was it possible, and better question, what might make someone use this over their existing toolsets. Those are some of the questions to explore. But, in the mean time, let's take the journey of F# and ASP.NET MVC. read more...

add a comment |category: |Views: 97

tags: another

Side Effects and Functional Programming(codebetter.com)

submitted by mpodwysompodwyso(65) 3 years, 8 months ago

One of my first posts at CodeBetter was in regards to side effects and how, when unmanaged, can be truly evil. Today, I want to revisit that topic briefly in regards to functional programming and managing side effects. When I was out in Redmond a couple of months ago, I had the opportunity to sit down with Erik Meijer to discuss functional programming among other topics. In there, we discussed a number of issues around managing side effects and state in your code, and how both C# and F# don't intrinsically support such a concept. Languages like Haskell, of course do with IO monads and other such monadic structures. Whether languages such as F# and Erlang are not pure functional programming languages is another matter, due to the fact that you don't have to declare when you are side effecting (reading a database, writing to console, spawning a process, etc). read more...

add a comment |category: |Views: 8

tags: another

F# September 2008 CTP Released!(blogs.msdn.com)

submitted by cls2degcls2deg(1535) 3 years, 8 months ago

I’m very pleased to announce the availability of the F# September 2008 CTP Release, launched via the new MSDN F# Developer Center. This release represents an important step in the evolution of the F# language as we progress it towards a fully supported language for the .NET platform. A huge thank you to both the F# team and the community members who've helped us trial earlier versions of this release and given us so much excellent feedback. read more...

add a comment |category: |Views: 164

tags: another