Recent snippets

Popular snippets

  • Command pattern for Redo-Undo II

    This command redo-undo implement group the command under Do/Undo category.

    71 people like this

    Posted: 15 years ago by Tao Liu

  • Read only ref

    F# implementation of RO_ref from the "Effective ML" talk.

    93 people like this

    Posted: 15 years ago by fholm

  • Composing a list of functions

    Composition of functions in F# is easily achieved by using the >> operator. You can also chain an arbitary amount of functions (represented as a list or sequence) together by folding the list/seq with >>. [More formally: the set of endomorphisms 'a -> 'a forms a monoid with the binary, associative operator ">>" (or "<<") and the neutral element "id".]

    87 people like this

    Posted: 15 years ago by Novox

Snippets by tags

algorithms (25) sequences (48) lazy (20) design patterns (18) silverlight (22) generic programming (17) tutorial (17) regex (17) agent (20) pattern matching (15) learning f# (16) game (32) sequence (32) quotations (21) collections (16) math (35) seq (54) html (16) string (29) lists (15)

View all...

Database contains 3210 snippets out of which 1719 is public.