fork download
  1. open System
  2. open Microsoft.FSharp.Collections.Array
  3. let _ =
  4. Array.foreach
  5. (Array.transform ("1 3 2 0".Split [|' '|]) (fun st -> int.Parse st))
  6. (fun n -> Console.WriteLine n);
Compilation error #stdin compilation error #stdout 0s 0KB
stdin
Standard input is empty
compilation info
/home/TjBXet/prog.fs(2,1): error FS0892: This declaration opens the module 'Microsoft.FSharp.Collections.Array', which is marked as 'RequireQualifiedAccess'. Adjust your code to use qualified references to the elements of the module instead, e.g. 'List.map' instead of 'map'. This change will ensure that your code is robust as new constructs are added to libraries.

/home/TjBXet/prog.fs(4,11): error FS0039: The value, constructor, namespace or type 'foreach' is not defined
stdout
Standard output is empty