HN Top New Show Ask Jobs

settings

Theme

Hand Mode

Feed

Comment by Nelkins

Comment by Nelkins 3 months ago

0 replies

View on Hacker News

It's statically typed and inferred.

With regards to your example, the print/printfn (equivalent of Write/WriteLine) functions are a bit funny in F#. They don't actually take bound string values directly. You need to specify the type (which could be a string, a number, obj, etc)

https://learn.microsoft.com/en-us/dotnet/fsharp/language-ref...