Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 3392772
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 18, 20262026-05-18T03:58:06+00:00 2026-05-18T03:58:06+00:00

Kinda self explanatory… I get a variety of errors when try to access 4.0

  • 0

Kinda self explanatory…

I get a variety of errors when try to access 4.0 dlls in FSI. So rather than go through each one, I think the above question is the right one.

This is a repost more or less of my question here in F# on MAC OSX and Ubuntu I get an error running FSI in 4.0

Thanks

Gary

Edit I am trying to run the following in a demo on my MacBook with Mono 2.8 and fsharp. (The code was chosen by someone else)

open System.Numerics
open System

let maxIteration = 100

let modSquared (c : Complex) = c.Real * c.Real + c.Imaginary * c.Imaginary

type MandelbrotResult = 
    | DidNotEscape
    | Escaped of int

let mandelbrot c =
    let rec mandelbrotInner z iterations =
        if(modSquared z >= 4.0) 
            then Escaped iterations
        elif iterations = maxIteration
            then DidNotEscape
        else mandelbrotInner ((z * z) + c) (iterations + 1)
    mandelbrotInner c 0

for y in [-1.0..0.1..1.0] do
    for x in [-2.0..0.05..1.0] do
        match mandelbrot (Complex(x, y)) with
        | DidNotEscape -> Console.Write "#"
        | Escaped _ -> Console.Write " "
    Console.WriteLine ()
  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-18T03:58:07+00:00Added an answer on May 18, 2026 at 3:58 am

    I downloaded the ZIP binaries and tried to run the 4.0 version on MacOS. Initially, I get the same error as you (could not locate BigInteger). This can be fixed by adding the -I command line argument, but then I got another error and I’m not yet sure what to do about this one:

    fsmac:fsharp4 tomas$ mono Fsi.exe 
      -I:/Library/Frameworks/Mono.framework/Versions/2.8/lib/mono/4.0/
    
    Microsoft (R) F# 2.0 Interactive build 4.0.30319.1
    Copyright (c) Microsoft Corporation. All Rights Reserved.
    
    For help type #help;;
    
    > 
    error FS0192: internal error: unreachable: GetGlobals
    

    EDIT Here is another (unsuccessful) attempt. This looks like a Mono bug, because the UnsafeLoadFrom method doesn’t seem to exist on Mono (runtime 4.0). At least, I cannot see it in the MonoDevelop IDE in C# projects (when I change runtime to 4.0)

    fsmac:fsharp4 tomas$ mono --runtime=v4.0.30319 Fsi.exe --noframework 
      -r:/Library/Frameworks/Mono.framework/Versions/2.8/lib/mono/4.0/mscorlib.dll 
      -r:FSharp.Core.dll 
    
    Microsoft (R) F# 2.0 Interactive build 4.0.30319.1
    Copyright (c) Microsoft Corporation. All Rights Reserved.
    
    For help type #help;;
    
    > Missing method System.Reflection.Assembly::UnsafeLoadFrom(string) in 
    assembly /Library/Frameworks/Mono.framework/Versions/2.8/lib/mono/4.0/
    mscorlib.dll, referenced in assembly /Users/tomas/Programs/fsharp4/
    FSharp.Compiler.dll
    
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

The title is self explanatory. Is there a way of directly doing such kind
Kinda hard to explain, but i'll try. I have a datalist that is populated
I have built this query that is kind of self explanatory: SELECT events.*,(SELECT COUNT(*)
This query is pretty self explanatory: $networks = '6,7,8'; $query = SELECT DISTINCT countryName
Goodmorning everybody! I'm not completely new to PHP as in self but still kinda
self.tableView = [[UITableView alloc] initWithFrame:self.view.frame style:UITableViewStylePlain]; How do I get the proper size from
I have two tables, SystemVariables and VariableOptions . SystemVariables should be self-explanatory, and VariableOptions
Pretty self-explanatory. I want to just have the combo box without any text outside
Kind of self-explanatory question: Why is it recommended loading jQuery or any other library
Kinda long title, but anyways... I've been looking at these examples, specifically on the

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.