Classical "Hello world" example that prints a message to the console output. This version uses F# printfn function to do the printing.
185 people like thisPosted: 13 years ago by Tomas Petricek
Disable printf based on some condition
41 people like thisPosted: 13 years ago by Laurent
This snippet likes the "dir" function of Python. ( http://docs.python.org/2/library/functions.html#dir ) The "dir" function is useful on FSI. You can take a look at members of the object quickly.
9 people like thisPosted: 11 years ago by Nobuhisa
Demonstration of FSI/printer behavior in the presence of ToString and StructuredFormatDisplayAttribute
1 people like thisPosted: 5 years ago by Mark Laws
Handy *printf feature: use kprintf to prepend datetime to formatted message
54 people like thisPosted: 13 years ago by Vladimir Matveev
A more complete version of sscanf, as proposed on stackoverflow by kvb: http://stackoverflow.com/questions/2415705/read-from-console-in-f Fixed bug in previous version to work with visual studio '13
21 people like thisPosted: 13 years ago by Wolfgang Meyer
A ksprintf implementation that optionally formats the string. Naive microbenchmarks are provided to demonstrate potential performance gains. See also https://github.com/eiriktsarpalis/TypeShape/blob/d782bcd7fd32b1899c1c95ba933da0ae5e0bb4eb/samples/ksprintf.fsx
1 people like thisPosted: 7 years ago by Eirik Tsarpalis