DEV Community

Discussion on: First Impressions of F#

dewofyouryouth_43 profile image
Jacob E. Shore Author

Thanks for your help I'll check this out.

Just to clarify, I don't think it's a good idea to have a function that does both addition and concatenation. My reservation was just that it means you can't just look at the function and immediately know what it's going to do.

drewknab profile image
Drew Knab

Sure thing.

Gotcha, sure. However, depending on your environment you can see what types the compiler is assigning to your functions. I predominately use Ionide in VS Code, but that extension is available for other text editors as well. Similarly, you get a type signature when you declare a function in fsi.