serious name collision with Scala fsc

94 views
Skip to first unread message

Kevin Cantu

unread,
Sep 5, 2011, 6:01:51 AM9/5/11
to FSharp Open Source Community
So I've now noticed that there can be a serious a name collision
between the F# compiler runscript installed by the fsharp build
scripts (from https://github.com/fsharp/fsharp) and one of the Scala
compilers, fsc (http://www.scala-lang.org/docu/files/tools/fsc.html).

Since 'fsc' is installed by Ubuntu's 'scala' package, for example,
what would you rename the run scripts to in order to avoid the
collision?

I made myself a quick hack renaming both 'fsc' and 'fsi' to 'runfsc'
and 'runfsi', but I'm not attached to the names: https://github.com/killerswan/fsharp
...


Cheers,
Kevin

Tomas Petricek

unread,
Sep 5, 2011, 7:32:14 AM9/5/11
to fsharp-o...@googlegroups.com
Hi,
Yes, this is a very unfortunate collision. The earlier verison of F#
packages (see [1]) used "fsharpc" and "fsharpi" to avoid it, so maybe that
may a reasonable alternative naming. On the other hand, I do not see how
"fsc" can be a shortcut associated with the Scala compiler? Where does the
"f" come from?

Tomas

[1] http://fsxplat.codeplex.com/


Cheers,
Kevin

--
You received this message because you are subscribed to the Google Groups
"FSharp Open Source Community" group.
To post to this group, send email to fsharp-o...@googlegroups.com
To unsubscribe from this group, send email to
fsharp-opensou...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/fsharp-opensource?hl=en

Mehdi

unread,
Sep 5, 2011, 11:04:48 AM9/5/11
to fsharp-o...@googlegroups.com
On Mon, Sep 5, 2011 at 1:32 PM, Tomas Petricek <to...@tomasp.net> wrote:
Hi,
Yes, this is a very unfortunate collision. The earlier verison of F#
packages (see [1]) used "fsharpc" and "fsharpi" to avoid it, so maybe that
may a reasonable alternative naming. On the other hand, I do not see how
"fsc" can be a shortcut associated with the Scala compiler? Where does the
"f" come from?


"f" as "fast"... nothing really specific to Scala, I agee.

Regards,

--
Mehdi Dogguy
http://www.pps.jussieu.fr/~dogguy/
http://dogguy.org
GNU/Linux user #371248

Kevin Cantu

unread,
Sep 16, 2011, 12:59:27 AM9/16/11
to FSharp Open Source Community
I have now put in a pull request for a version with 'fsharpc' and
'fsharpi', here: https://github.com/fsharp/fsharp/pull/10

Tomas Petricek

unread,
Sep 16, 2011, 8:11:28 PM9/16/11
to fsharp-o...@googlegroups.com
Hi Kevin,
Thanks very much for the update! The changes look good to me and I think
that switching to "fsharpc" and "fsharpi" is probably a good thing to do.
I'll let someone from Mono decide & merge the changes, because they are the
main owners of the repo.

Thanks!
T.

-----Original Message-----
From: fsharp-o...@googlegroups.com
[mailto:fsharp-o...@googlegroups.com] On Behalf Of Kevin Cantu
Sent: Friday, September 16, 2011 5:59 AM
To: FSharp Open Source Community

--

Andreia Gaita

unread,
Sep 19, 2011, 6:42:04 AM9/19/11
to fsharp-o...@googlegroups.com
Hi everyone,

Sorry for the delay, I've been away and it's been a busy time for Mono folks. The change has been merged with fsharp master, thanks!

andreia gaita
--------------------
blog.worldofcoding.com
Reply all
Reply to author
Forward
0 new messages