Attempt to reimplement functions AsyncRead/AsyncReadLines from 'Rx on the server ' articles (by Jeffrey van Gogh) using idea of AsyncSequence (by Tomas Petricek)
26 people like thisPosted: 8 years ago by Vladimir Matveev
Find every substring that is a palindrome. A bit lazier than the original.
1 people like thisPosted: 8 years ago by Kevin Cantu
ViewModelBase for F# users who want to use it in WPF / Silverlight
15 people like thisPosted: 8 years ago by Fahad
These are F# solutions of Ninety-Nine Haskell Problems which are themselves translations of Ninety-Nine Lisp Problems and Ninety-Nine Prolog Problems. The solutions are hidden so you can try to solve them yourself.
26 people like thisPosted: 7 years ago by Cesar Mendoza
These are F# solutions of Ninety-Nine Haskell Problems which are themselves translations of Ninety-Nine Lisp Problems and Ninety-Nine Prolog Problems. The solutions are hidden so you can try to solve them yourself.
6 people like thisPosted: 7 years ago by Cesar Mendoza
These are F# solutions of Ninety-Nine Haskell Problems which are themselves translations of Ninety-Nine Lisp Problems and Ninety-Nine Prolog Problems. The solutions are hidden so you can try to solve them yourself.
5 people like thisPosted: 7 years ago by Cesar Mendoza
These are F# solutions of Ninety-Nine Haskell Problems which are themselves translations of Ninety-Nine Lisp Problems and Ninety-Nine Prolog Problems. The solutions are hidden so you can try to solve them yourself.
3 people like thisPosted: 7 years ago by Cesar Mendoza
These are F# solutions of Ninety-Nine Haskell Problems which are themselves translations of Ninety-Nine Lisp Problems and Ninety-Nine Prolog Problems. The solutions are hidden so you can try to solve them yourself.
9 people like thisPosted: 7 years ago by Cesar Mendoza
These are F# solutions of Ninety-Nine Haskell Problems which are themselves translations of Ninety-Nine Lisp Problems and Ninety-Nine Prolog Problems. The solutions are hidden so you can try to solve them yourself.
4 people like thisPosted: 7 years ago by Cesar Mendoza
Quick demo of using F# to interop with a native C library. C Library has not been checked for algorithm correctness (but works exactly as the origional).
11 people like thisPosted: 7 years ago by David Klein
A small DSL for graph building by combining paths. It's just a set of edges under the hood, so no need to worry about duplication causing problems. This is part of a larger project I'm calling edgy.
9 people like thisPosted: 7 years ago by Rick Minerich
work with ini file with WritePrivateProfileString, GetPrivateProfileString easy as pie
1 people like thisPosted: 7 years ago by nCdy
Generates the Prime Number Sequence.
1 people like thisPosted: 6 years ago by AdamSpeight2008
http://codekata.pragprog.com/2007/01/kata_five_bloom.html
3 people like thisPosted: 6 years ago by Suzanna
Had to throw together a Haskell-style Either type in F# since Choice is a pain in the ass.
3 people like thisPosted: 6 years ago by Bryan Edds
Match the first elements of an array an returns tail.
3 people like thisPosted: 5 years ago by thinkbeforecoding
263 bytes (unix line endings ;))
3 people like thisPosted: 5 years ago by Simon Dickson
Solution to Viral Math Problem From Vietnam explained on: http://mindyourdecisions.com/blog/2015/05/20/viral-math-problem-from-vietnam-are-you-smarter-than-an-8-year-old/#.VXhmhs-eDRY
1 people like thisPosted: 4 years ago by HK
One of the 99 OCaml problems rewritten in F#
0 people like thisPosted: 4 years ago by Vladimir Khorikov
Learning F# with my 11 year old nephew, he is loving it, swapping out assets and creating new ones, adjusting gravity to what feels right to him and putting in very basic collision detection. Going to keep expanding on it over the year.
4 people like thisPosted: 4 years ago by John Nolan, Callum Simpson
Jelmer047.fsx
1 people like thisPosted: 4 years ago by jelmer
This snippet shows how to create a WPF custom control library in F#.
43 people like thisPosted: 8 years ago by Fahad
A novel, due to performance inadequacy, abstraction of the "tail-recursive loop" pattern. Approaching what a built-in language feature might look like.
3 people like thisPosted: 8 years ago by Stephen Swensen
Several WinForms controls, like TreeView and ListView, implement methods BeginUpdate and EndUpdate, which suspend repainting of the control while items are being individually added to a control, preventing flicker caused by rapid repainting. But using BeginUpdate and EndUpdate is very imperative, and opens up the possibility for bugs, such as neglecting to call the matching EndUpdate. An obvious improvement would be to create an extension method on types implementing this pattern which takes a unit -> unit lambda which is executed between update pairs. But the pattern is only conventional, rather than through a common base class or interface. Hence this presents a reasonable opportunity to use F#'s statically resolved structural type system to implement a function which only works on Control types with the correct structural signature.
3 people like thisPosted: 8 years ago by Stephen Swensen
These are F# solutions of Ninety-Nine Haskell Problems which are themselves translations of Ninety-Nine Lisp Problems and Ninety-Nine Prolog Problems. The solutions are hidden so you can try to solve them yourself.
7 people like thisPosted: 7 years ago by Cesar Mendoza
These are F# solutions of Ninety-Nine Haskell Problems which are themselves translations of Ninety-Nine Lisp Problems and Ninety-Nine Prolog Problems. The solutions are hidden so you can try to solve them yourself.
4 people like thisPosted: 7 years ago by Cesar Mendoza
These are F# solutions of Ninety-Nine Haskell Problems which are themselves translations of Ninety-Nine Lisp Problems and Ninety-Nine Prolog Problems. The solutions are hidden so you can try to solve them yourself.
6 people like thisPosted: 7 years ago by Cesar Mendoza
These are F# solutions of Ninety-Nine Haskell Problems which are themselves translations of Ninety-Nine Lisp Problems and Ninety-Nine Prolog Problems. The solutions are hidden so you can try to solve them yourself.
5 people like thisPosted: 7 years ago by Cesar Mendoza
These are F# solutions of Ninety-Nine Haskell Problems which are themselves translations of Ninety-Nine Lisp Problems and Ninety-Nine Prolog Problems. The solutions are hidden so you can try to solve them yourself.
3 people like thisPosted: 7 years ago by Cesar Mendoza
Sometimes, we may run into this kind of situation that we want to check if the given method/function has been initialized. We all know this is fairly easy in C#, since we can use delegate to invoke the function , then verify if the value of delegate is null. But in F# , delegate is rarely needed because F# can treat a function as a value, without the need for any wrapper. So , here is an easy way to solve this problem.
6 people like thisPosted: 7 years ago by ZackZhou
Here is the implementation of the three types in WCF Azure, and a sample using WCF in worker role, a WPF test project to invoke the three kinds of data type from worker role. Link is http://fsharp3sample.codeplex.com/SourceControl/changeset/view/13876
4 people like thisPosted: 7 years ago by AndrewXue
A small DSL for graph building by combining weighted paths. It's just a map of edges to weights under the hood, so no need to worry about duplication causing problems. This is part of a larger project I'm calling edgy.
2 people like thisPosted: 7 years ago by Rick Minerich
FsSql is originally here: https://github.com/mausch/FsSql and better sample is there too but I just want to share it.
2 people like thisPosted: 6 years ago by Ash Harley
F# to CSS compiler (CSS EDSL in F#) <+> inspired by Clay and FAKE - https://github.com/Cynede/Failess
7 people like thisPosted: 6 years ago by Heather
Solution to Kata Six: Anagrams from http://codekata.pragprog.com/2007/01/kata_six_anagra.html in F#
1 people like thisPosted: 6 years ago by Suzanna
Learn Key Principle of F# in just a few minutes with the following Sample of "World Bank Type Provider - Exploring Population Data"
376 people like thisPosted: 5 years ago by Muhammad Mugees Asif
Helper modules for different kinds of memoize functions.
1 people like thisPosted: 5 years ago by Daniel Fabian (@iceypoi)
https://twitter.com/kot_2010/status/607115335255392256
0 people like thisPosted: 4 years ago by Tamizhvendan
One of the 99 OCaml problems rewritten in F#
0 people like thisPosted: 4 years ago by Vladimir Khorikov
One of the problems from https://ocaml.org/learn/tutorials/99problems.html
0 people like thisPosted: 4 years ago by Vladimir Khorikov
A snippet demonstrating the F# feature request to relax some of the indentation rules.
2 people like thisPosted: 4 years ago by Tomas Petricek
Do you want to format F# snippets, but cannot easily run the F# Formatting library as part of your documentation processing? We just added F# Formatting as a service (FAAS!) API to the F# Snippets. This code snippet shows how to call the service.
2 people like thisPosted: 3 years ago by Tomas Petricek