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.

    84 people like this

    Posted: 15 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.

    69 people like this

    Posted: 15 years ago by Phillip Trelford

Snippets by tags

seq (54) tutorial (17) tryfsharp (48) computation builder (17) mailboxprocessor (27) silverlight (22) f# (43) http (18) quotations (21) sequence (32) array (22) sequences (48) agent (20) string (29) json (16) monad (24) learning f# (16) html (16) pattern matching (15) lazy (20)

View all...

Database contains 3212 snippets out of which 1719 is public.