Blog articles of F# Bloggers

0
comment
comment
on 7/13/2012 7:10 AM
It’s been forever since I last posted, I worked quite a bit on PezHack and then stopped for a while. I’m back to it now. In this post I will describe a technique I used to greatly reduce the amount of code and abstract away some repetitive imperative code.
The Problem
PezHack is a turn based game. The screen does not re-render itself all the time like a real-time game, but only when something changes and at the end of a the player’s turn. The agent-based approach I used to separate the various sub syste[...]
0
comment
comment
on 7/13/2012 7:05 AM
In this post, we are going to create a Converter class who converts values to strings. The conversion rules are specified by passing the name of a culture to the class’ constructor. The culture name can contain just the language (as ISO 639-1 alpha-2 code, e. g. “en”) or the language and region (as ISO 3166 code, e. g. “US”) combined with hyphen, e. g. “en-US”. An empty culture name “” specifies the invariant culture, which falls back to “en”.
The class has only one conversion method ToString, who is generi[...]
0
comment
comment
on 7/13/2012 7:05 AM
In this post, we are going to create a Converter class who converts values to strings. The conversion rules are specified by passing the name of a culture to the class’ constructor. The culture name can contain just the language (as ISO 639-1 alpha-2 code, e. g. “en”) or the language and region (as ISO 3166 code, e. g. “US”) combined with hyphen, e. g. “en-US”. An empty culture name “” specifies the invariant culture, which falls back t[...]
0
comment
comment
on 4/24/2012 4:37 PM
Introduction
In my quest to learn the functional paradigm, one thing I have struggled with is game development. Assuming I mostly stick to the functional style of having little to no mutable state, how do you go about writing games? Games are pretty much ALL mutable state. Obviously, in a multi-paradigm language like F# you can have mutable state - and if used judiciously this can be very effective (not to mention offer some significant performance improvements). The blend of imperative and functional styl[...]
0
comment
comment
on 4/24/2012 10:18 AM
I’m sure every seasoned .NET developer has been in the situation at one stage or another, probably in testing code, where they need to access a non-public setter of a property (or maybe a private member), and it can’t be mocked. We all know the (somewhat scary) reflection trick to get at the said setter method and invoke it. I just hit this problem today trying to mock some response messages from a Microsoft Dynamics XRM 2011 OrganizationService. Thankfully F# gives us cool things like Quotations and s[...]
About this group
- Founded: 3/13/2013
- Owners: Loïc Denuzière, Adam Granicz
- Members: 1
- Past events: 0
- Upcoming events: 0 Log in to join
Featured group
![]() | New York City F# User Group 3 past events |
Latest blog articles by fsharp-bloggers (see all)
- Code Reuse with the SqlProgrammabilityProvider
- FSharpArm - part 2
- Decomposition Problem with F#, Dynamic Programming
- Error: Successive arguments should be separated by spaces or tupled
- Real-time analytics with Apache Storm – now in F#
- Real-time analytics with Apache Storm – now in F#
- Adding a [FixedLength] Attribute in Code-First Entity Framework
- F# Card Game Part 2 - Dealing Cards
- Language Safety Score, revisited
- FSharpArm - part 1
- F# Card Game Part 1 - Modeling the Domain
- Simplifying (?) State with C# Async
- Null-checking considerations in F# - it's harder than you think
- Null-checking considerations in F# - it's harder than you think
- Motif Finding with Gibbs Sampling (F#)
- A handy Powershell filter for converting plain text to objects
- A handy Powershell filter for converting plain text to objects
- F# as a Ubiquitous Language
- Taking a peek at F# on StackOverflow
- Catch of the month, April 2015
- Fibonacci Variations, Part 1: A Library-Based Infinite Sequence
- Fibonacci Variations, Part 1: A Library-Based Infinite Sequence
- First impressions with DiffSharp, an F# autodiff library
- Tips for the Websharper Novice
- Workshop FSharp in den Haag
- Simplifying State with Async (with XNA/WPF examples)
- F#, an Ideal Language For Writing .NET Unit Tests
- F#, an Ideal Language For Writing .NET Unit Tests
- Secret Santa challenge in D
- The 2014 F# Tour in numbers
- Duck Typing in FSharp
- Spelling checker in F#
- Nested looping to programmatic depth in F#
- Nested looping to programmatic depth in F#
- The North Pole Type Provider: Escape from Santa’s Grotto!
- F# for C# developers: Creating escaped concat/split functions in F#
- F# for C# developers: Creating escaped concat/split functions in F#
- Textogramme
- Modelling Stochastically Independent Processes with F# Computation Expressions: Part 2
- Extending a 3rd-party API with F# units of measure
- Modelling Stochastically Independent Processes with F# Computation Expressions: Part 1
- Extending a 3rd-party API with F# units of measure
- Generating Permutations: Clojure or F#: Part 2
- Trying numl on OSX with F# and Xamarin
- Coding in the Age of Mobility: @fsibot 0.1 is out!
- Supercharging SQL Join with GTX Titan, CUDA C++, and Thrust: Part 2
- Supercharging SQL Join with GTX Titan, CUDA C++, and Thrust: Part 1
- Compiling CUDA Projects with Dynamic Parallelism (VS 2012/13)
- Your Flying Car is Ready: Amazing Programming Tools of the Future, Today!
- Picasquez vs Velasso: Classics Mashup with F#
- Make IIS Express works with http://127.0.0.1
- Metaprogramming with IronPython - Part 2
- Metaprogramming with IronPython - Part 1
- RabbitMQ - Removing the MSSql queue antipattern
- New Blog
- Cloud Security, For Real This Time: Homomorphic Encryption and the Future of Online Privacy
- "Test-Only Development" with the Z3 Theorem Prover
- 2048 – Type Provider Edition
- Emerging Languages Camp Part 5: Axiomatic Language
- An elliptical pool
- How F# cured my 2048 addiction
- Could not run the “GenerateResource” task because MSBuild could not create or connect to a task host with runtime “CLR2″ and architecture “x86″.
- Some of my favourite tech books!
- Emerging Languages Camp Part 4: Nimrod and Dao
- BASIC’s 50th Anniversary … and more crazy F# type providers!
- How to fail while implementing agile
- Using F# and R Provider with Kaggle’s Facial Keypoints Detection
- Emerging Languages Camp Part 3: Noether
- Solving Puzzle Quest with F# Part 1
- Creating maps using R, Deedle and F# type providers
- void is a bug
- Emerging Languages Camp Part 2: Daimio and Babel
- D3 Fisheye Distortion for Bar Charts
- Book Review: F# for Quantitative Finance
- The Don Syme type provider
- Cloud Security, For Real This Time
- Amoeba Optimization Method using F#
- Recursion and Tail-recursion in F#
- Recursion and Tail-recursion in F#
- Building a C# compiler in F#
- Learning F# with F# Succinctly by Robert Pickering
- Learning F# with F# Succinctly by Robert Pickering
- Re-introducing Community for F#
- The MineSweeper Type Provider
- The amazing Squirrelify type provider
- Fun with a toy robotic arm!
- Version 0.1 of Charon, a F# Random Forest
- Visualizing LINQ with GraphViz
- Create a super-duper-happy SPA web app using Durandal, Nancy, and Bootstrap
- Create a super-duper-happy SPA web app using Durandal, Nancy, and Bootstrap
- When Does Lexing End and Parsing Begin?
- year ++ 2013: my crazy year with F#
- Add Code Syntax Highlighting to your Ghost blogging site
- Add Code Syntax Highlighting to your Ghost blogging site
- Changing Ghost theme and add Disqus comment
- Set up Ghost blogging site on Windows Azure Websites
- Create and Run ASP.NET MVC project with Durandal Starter Kit on Visual Studio 2013
- SQL Provider - new stuff including PostgreSQL support and option types!
- SqlProvider : SQLite support (experimental)
- Let’s Build a Compiler… In F#!
- Building Mono on a Raspberry Pi (Hard Float)
- The Erasing SQL type provider (codename John)
- A Platform game in F# and SpriteKit – Part 7 – DSLs baby!
- Safe refactoring with Units of Measure
- A Platform game in F# and SpriteKit – Part 6 – Death
- A Platform game in F# and SpriteKit – Part 5.5 – Sound Effects
- A Platform game in F# and SpriteKit – Part 5 – Animation and Sound
- A Platform game in F# and SpriteKit – Part 4 – Running and Scrolling
- On Learning Programming and Math at Coursera
- Computing Self-Organizing Maps in a Massively Parallel Way with CUDA. Part 2: Algorithms
- Strange Loop Crossword
- Computing Self-Organizing Maps in a Massively Parallel Way with CUDA. Part 1: F#
- First steps with Accord.NET SVM in F#
- Starting an open-source rewrite of a validation microframework
- Field notes from the F# tour
Event tags for this group
Group tags
- f# × 33
- clojure × 14
- functional × 14
- haskell × 14
- scala × 11
- erlang × 6
- c# × 4
- .net × 3
- agile × 3
- ocaml × 3
- websharper × 3
- ddd × 2
- exchange × 2
- java × 2
- javascript × 2
- neo4j × 2
- nosql × 2
- scheme × 2
- skillsmatter × 2
- alt.net × 1
- android × 1
- architecture × 1
- async × 1
- bdd exchange × 1
- blazehtml × 1
- cassandra × 1
- clean × 1
- codeken × 1
- coffeescript × 1
- common lisp × 1
- continuous delivery × 1
- finance × 1
- fractureio × 1
- grails × 1
- groovy × 1
- html × 1
- html5 × 1
- islisp × 1
- jquery × 1
- jvm × 1
- lisp × 1
- load testing × 1
- lua × 1
- metro style × 1
- microsoft × 1
- mongodb! × 1
- ninja × 1
- ouya × 1
- package management × 1
- prog × 1
- projects × 1
- python × 1
- qcon × 1
- racket × 1
- reactive extensions × 1
- restful × 1
- riak × 1
- rx × 1
- scalability × 1
- tdd × 1
- test × 1
- titanium × 1
- unit testing × 1
- user group × 1
- web × 1
- web services × 1
- winrt × 1
![]() |
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 |