Snippets tagged test

  • Hello world

    A very simple function to print hello world, which is completely useless. Just testin the F# Snippets API...

    1 people like this

    Posted: 2 years ago by Tomas Petricek

  • 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?

    7 people like this

    Posted: 28 days ago by Musa Jahanghir