Hmm, seems that I can use the library in my C# class lib without adding it to the using clause :)

This just seems to work
By on 7/31/2009 12:29 PM ()
I get warnings on "open Lexing" that "this constructor is for compatibility with OCaml. Consider using the Microsoft.FSharp.Text.Lexing namespace directly." or disable the warning with #nowarn "62" I also get these warnings on "Lexing.from_string"


Yeah, this is the moral equivalent of e.g.

 

open System
open Collections
open Generic


when you should really say

open System.Collections.Generic

so in this instance you should say

open Microsoft.FSharp.Text.Lexing

By on 7/31/2009 9:32 AM ()
Well, the Microsoft.FSharp.Text.Lexing doesn't have any notion of lexing.from_string while the Microsoft.FSharp.Compatibility.OCaml.Lexing has it.

Anyway, this works even though I get warnings so I don't really care :)
By on 7/31/2009 12:31 PM ()
Hmm, seems that I can use the library in my C# class lib without adding it to the using clause :)

This just seems to work
By on 7/31/2009 6:48 AM ()
IntelliFactory Offices Copyright (c) 2011-2012 IntelliFactory. All rights reserved.
Home | Products | Consulting | Trainings | Blogs | Jobs | Contact Us
Built with WebSharper