Recent snippets

  • Migrate from Settings.StyleCop to .ruleset

    1 people like this

    Posted: 13 days ago by journeyman

  • Generic fst and snd functions

    It seems original design for struct tuples doesn't contain struct versions of fst and snd functions. SRTP FTW!

    1 people like this

    Posted: 19 days ago by Evgeniy Andreev

  • tutorial, test, tennis, clarity, simplicity in f#

    f# short and sweet may help beginners. Score on winning a point, Winning number first and other players is labeled: b example "0",b ->"15", b. A special case of draw-deuce is "40", "A" -> "40","40" If player 2 wins a point score calling is flipped as 2->score(b,a). fold (fun to call for each element in the test list) (initials "0","0") [test list of winning player] Notice f# is perhaps easier and clearer than pseudo code and verbose description. An improvement suggestion for Don is if syntax is not confused can word function be made optional so = |... or -> |.. so syntax is ever more clearer?

    6 people like this

    Posted: 20 days ago by Musa Jahanghir

Popular snippets

Snippets by tags

dsl (22) web (23) f# (42) fold (19) tryfsharp (48) silverlight (21) lazy (18) fparsec (14) http (14) design patterns (18) algorithms (25) math (32) xml (12) computation builder (14) seq (50) pattern matching (12) monad (20) staging (18) html (14) game (30)

View all...

Database contains 2161 snippets out of which 1489 is public.