Takes a list of (quantity/amount and price/rate) as decimals, and gives a weighted average
0 people like thisPosted: 3 days ago by Tuomas Hietanen
Example of shaping an anonymous-object-as-JSON structure for an Azure dashboard using strong typing and minimal code using Farmer F# https://compositionalit.github.io/farmer/
0 people like thisPosted: 3 days ago by Tuomas Hietanen
A functional wrapper around MailboxProcessor that simplifies agent-based concurrency, adds error handling via events, and provides convenience functions to avoid common pitfalls when working with asynchronous message processing in F#.
0 people like thisPosted: 1 month ago by halcwb
Timestamp: Time format in ISO 8601 with timezone. YYYYMMDDhhmmssffff+zzzz For example 2011-05-17 19:01:10.000 -0200 would be: 20110517190110000-0200
0 people like thisPosted: 3 months ago by Tuomas Hietanen
Word guessing game using ASCII art.
3 people like thisPosted: 3 months ago by Phillip Trelford
Generate random hex-string and calculate base58encode. I made these for some initial BTC-testing, but didn't test too much... seems to work, but would need some unit-tests... :-) Feel free to update or add new versions.
2 people like thisPosted: 4 months ago by Tuomas Hietanen
This example shows how to load a Xaml file allowing to use WPF from F#. It also shows how to access WPF objects and register event handlers.
109 people like thisPosted: 14 years ago by Antonio Cisternino
The ObservableObject type implements the INotifyPropertyChanged interface used in WPF and Silverlight to notify on changes to properties that are bound to a control. Specify property names type safely using F# Quotations, i.e. <@ this.PropertyName @> when invoking the NotifyPropertyChanged method. If you are following the MVVM pattern then your View Model class can inherit from the ObservableObject type.
67 people like thisPosted: 14 years ago by Phillip Trelford
Demonstrates how to implement the dynamic operator (?) using .NET Reflection. The implementation supports calling constructors, propreties and methods using simple overload resolution (based on parameter count). It handles instance as well as static members.
73 people like thisPosted: 14 years ago by Tomas Petricek
The ObservableObject type implements the INotifyPropertyChanged interface used in WPF and Silverlight to notify on changes to properties that are bound to a control. Specify property names type safely using F# Quotations, i.e. <@ this.PropertyName @> when invoking the NotifyPropertyChanged method. If you are following the MVVM pattern then your View Model class can inherit from the ObservableObject type.
67 people like thisPosted: 14 years ago by Phillip Trelford
F# implementation of a generic Top-Down-Operator-Precedence Parser as described in this paper http://portal.acm.org/citation.cfm?id=512931 Example starts at line ~300
89 people like thisPosted: 14 years ago by fholm
Show's how to define units of measure to add stronger typing to your numerical functions.
75 people like thisPosted: 14 years ago by Robert Pickering
f# (43) array (22) quotations (21) math (35) computation builder (17) tutorial (17) agent (20) algorithms (26) monad (24) tryfsharp (48) parsing (28) fold (22) lazy (20) json (16) kata (17) silverlight (22) computation expression (15) learning f# (16) seq (54) design patterns (18)
nagat01 (19) Gauthier Segay (11) mavnn (17) Tomas Petricek (150) Joel Huang (13) Brian Berns (9) Rick Minerich (15) Fabio Galuppo (14) Nick Palladinos (66) Phillip Trelford (87) Vesa Karvonen (8) Taha Hachana (12) NIck Palladinos (14) Carsten König (10) fholm (26) Samuel Bosch (12) Faisal Waris (37) Ankur Dhama (20) devshorts (11) Zhukoff Dima (8)
Database contains 3203 snippets out of which 1717 is public.