Reputation: 303
Is there a way to compile and run f# from osx console? I have mono installed and added /mono64/bin/mono
to paths, but mcs
command returns
test.fs(2,0): error CS1525: Unexpected symbol `let'
Compilation failed: 1 error(s), 0 warnings
Upvotes: 5
Views: 1841
Reputation: 74144
fsharpi
F# Interactive for F# 4.0 (Open Source Edition) Freely distributed under the Apache 2.0 Open Source License
For help type #help;;
fsharpc
F# Compiler for F# 4.0 (Open Source Edition) Freely distributed under the Apache 2.0 Open Source License
Upvotes: 9