Recent snippets

Popular snippets

  • Split a list

    Three ways to split a list in half (but not necessarily in the middle). A forth version added that's very short and should be fast, as we only use List.fold. New champ found.

    83 people like this

    Posted: 14 years ago by Dmitri Pavlenkov

  • Get Stock Quote Data and Historical Stock Prices from Yahoo Finance

    Get Stock Quote Data and Historical Stock Prices from Yahoo Finance.

    237 people like this

    Posted: 15 years ago by Tuomas Hietanen

  • ObservableObject

    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 this

    Posted: 14 years ago by Phillip Trelford

Snippets by tags

kata (17) seq (54) f# (43) string (29) game (32) tutorial (17) tryfsharp (48) pattern matching (15) learning f# (16) regex (17) monad (24) math (35) array (22) json (16) lists (15) wpf (20) computation expression (15) mailboxprocessor (27) parsing (28) web (29)

View all...

Database contains 3208 snippets out of which 1719 is public.