Note that there are some explanatory texts on larger screens.

plurals
  1. PO
    primarykey
    data
    text
    <p>This is the summary of discussion with @jbssm through comments:</p> <ul> <li>The original configuration is Mono 2.10.6 and F# 1.9.4.19 (an old F# version dated back to 2008) installed through MacPorts. His attempt to remove those packages and install Mono from disk image gets the test code work, but results in a weird error <code>Failed to install ctrl-c handler - Ctrl-C handling will not be available. Error was: Exception has been thrown by the target of an invocation.</code> whenever starting fsi.</li> </ul> <p>And lets start my answer from here:</p> <ol> <li>To get out of fsi without Ctrl-C, I think you always can use <code>#quit;;</code>. <strong>To solve the new problem, you may find the answer of <a href="https://stackoverflow.com/questions/4256918/fsi-exe-does-not-work-under-ubuntu-10-10">the following question</a> helpful.</strong></li> <li><p>I find it a little bit weird because your new F# configuration should work. <strong>Have you installed new Mono and F# using or not using MacPorts because it's a <a href="https://trac.macports.org/ticket/32120" rel="nofollow noreferrer">known bug</a> of F# on MacPorts?</strong> If you're not using MacPorts, my guess is there are some data left from the old Mono installation on MacPorts which conflicts with the new Mono installation. If the first suggestion doesn't work, maybe you should follow the below procedure:</p> <ol> <li><a href="http://www.mono-project.com/Mono:OSX#Uninstalling_Mono_on_Mac_OS_X" rel="nofollow noreferrer">Remove old Mono installation</a>.</li> <li><a href="http://www.go-mono.com/mono-downloads/download.html" rel="nofollow noreferrer">Install latest Mono version from disk image</a>: Mono 2.10 onwards includes F# package already so no need to install a separate F# package.</li> <li>Try your test script with <code>fsi</code> on the terminal.</li> <li>Update Emacs configuration (if needed) and try to run F# on Emacs.</li> </ol> <p>I have Mono 2.10 with F# running on my Mac (though I don't use Emacs), so I don't think there's any problem installing Mono 2.10 from scratch.</p></li> </ol> <p>Please give follow-up information, if any of them works for you.</p>
    singulars
    1. This table or related slice is empty.
    plurals
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. VO
      singulars
      1. This table or related slice is empty.
    2. VO
      singulars
      1. This table or related slice is empty.
 

Querying!

 
Guidance

SQuiL has stopped working due to an internal error.

If you are curious you may find further information in the browser console, which is accessible through the devtools (F12).

Reload