Questions about the definition of lazy

Questions about the definition of lazy

On line 5633 in prim-types.fs (v1.9.7.8) there is the following type abbreviation:

type 'T ``lazy`` = Lazy<'T> 

I have a few questions about it.

  1. What do the double backticks mean?
  2. Is this definition equivalent to type lazy<'T> = Lazy<'T>? (If not, how is it different?)

Facebook-connect demo - is “Callback URL” == “Connect Callback URL”?


Accessing Facebook wall posts
The double back ticks are a way of allowing an F# keyword to be used as an identifier.

Is is possible to requireSession and request permission publish_stream in f8 connect at once?
Another example would be.
How to make a pop up to ask user for extended permission in an i-frame application
let ``let`` = 42 

how to access facebook or twitter using blackberry API?

Problem in facebook share functionality


Facebook tab application scripting
To answer the second half of your question, generic types in F# can be specified using either the O'Caml-style syntax where the generic parameter precedes the type (e.g 'a list, int array, etc.), or the .NET-style with angle brackets (e.g.

Variable interpolation in fb:req-choice url
list<'a>, array<int>, etc.), so the two definitions are indeed basically equivalent (except that your version as written is syntactically invalid because lazy is a keyword).

For multi-parameter generic types, the O'Caml style is deprecated and will generate a warning (e.g.

let (m:(int,string) Map) = Map.empty should be rewritten as let (m:Map<int,string>) = Map.empty)..

85 out of 100 based on 65 user ratings 265 reviews