Since F# is my new scripting language, I needed something like Perl's exec but with sequences for Std In and Out.
7 people like thisPosted: 13 years ago by Tony Lee
This small script converts continuous 4 spaces to 2 spaces by using Regex. It gets the source code from a clip board text and save it to clip board. Since this program doesn't parse the source code, conversion is not perfect. But writing script which interacts with clipboard is so easy, you can automate your trivial coding work with a small effort. Using F#interactive with Clipboard is my favorite way of meta-programming.
3 people like thisPosted: 13 years ago by nagat01
This is my first experience to write scripts on F# that's why I'll be pleased if somebody will make this snippet more perfectly. Usage: fsi hasher.fsx foo test.dat test.txt bar
4 people like thisPosted: 12 years ago by greg zakharov
Calculates sha256 of the files passed in on the command line. Usage: fsi sha256.fsx downloadedFile.zip
2 people like thisPosted: 13 years ago by Tony Lee
This script facilitates to load all the .fs files in the specified F# project in correct compilation order.
5 people like thisPosted: 12 years ago by nagat01