F# Bloggers

Blog articles of F# Bloggers

0
comment
on 3/22/2015 11:27 PM
I will admit it, I got a bit upset by James McCaffrey’s column in MSDN magazine this month, “Gradient Descent Training Using C#”. While the algorithm explanations are quite good, I was disappointed by the C# sample code, and kept thinking to myself “why oh why isn’t this written in F#”. This is by no means intended as a criticism of C#; it’s a great language, but some problems are just better suited for different languages, and in this case, I couldn’t fathom why F# wasn’t used. Long story short, I just co[...]
>> Read the full article
.
0
comment
on 3/21/2015 9:29 AM
This blog post explains five F#-specific features who simplify and stabilize the implementation of vector algebra: Custom operators Inlining Units of Measure Type inference Automatic generalization We will use these features to define an infix dot product operator who is compile-time type-safe and generic.   Dot Product Operator Implementation let inline (.*) xs ys = Seq.map2 (*) xs ys |> Seq.sum The above line of code does not contain any type annotations. However, thanks to the F# compiler's built-in [...]
>> Read the full article
.
0
comment
on 3/21/2015 9:29 AM
This blog post explains five F#-specific features who simplify and stabilize the implementation of vector algebra: Custom operators Inlining Units of Measure Type inference Automatic generalization We will use these features to define an infix dot product operator who is compile-time type-safe and generic.   Dot Product Operator Implementation let inline (.*) xs ys = Seq.map2 (*) xs ys |> Seq.sum The above line of code does not contain any type annotations. However, thanks to the F# compiler's built-in [...]
>> Read the full article
.
0
comment
on 3/15/2015 2:57 AM
Hoeveel regels heb je nodig om een simpele WCF service te starten die onder Linux draait? Antwoord: circa 30 regels. Sterker, je kunt die WCF zelfs draaien zonder te compileren, want het werkt gewoon in de F# Interactive! Je moet wel de wereld en zijn moeder installeren om dit voor elkaar te krijgen. Oorspronkelijk was het mijn doel om eens wat meer te zien van Hadoop. Maar zover is het nog niet echt gekomen. Mijn installatie, onder Windows 7 (maar wel laptop met Bang en Olufsen boxen!): [...]
>> Read the full article
.
0
comment
on 3/5/2015 8:55 PM
A few months ago, some coworkers sent around a Ruby challenge. It appears simple, but we can sometimes learn a lot from simple problems. Write a Ruby program that determines the smallest three digit number such that when said number is divided by the sum of its digits the answer is 20. In case that’s not clear, [...]
>> Read the full article
.
IntelliFactory Offices Copyright (c) 2011-2012 IntelliFactory. All rights reserved.
Home | Products | Consulting | Trainings | Blogs | Jobs | Contact Us | Terms of Use | Privacy Policy | Cookie Policy
Built with WebSharper