Dhghomon / rust-fsharp

Rust - F# - Rust reference
MIT License
239 stars 14 forks source link

Remove unnecessary semicolons #10

Closed joakin closed 3 years ago

joakin commented 3 years ago

Playground test

This repo is awesome, I'm also new to f# and I share your sentiment.

F# being whitespace sensitive, it seems like it doesn't really need those semicolons?

Happypig375 commented 3 years ago

By the way, F# doesn't use a semicolon at the end (so don't use one) but the compiler also won't yell at you if you do.

Dhghomon commented 3 years ago

Oh right, I had meant to make this example semicolon free and then add semicolons in the next section to show that the compiler won't care.