F# references (and some misc slides)

  • 579 views
Uploaded on

 

More in: Technology
  • Full Name Full Name Comment goes here.
    Are you sure you want to
    Your message goes here
    Be the first to comment
    Be the first to like this
No Downloads

Views

Total Views
579
On Slideshare
0
From Embeds
0
Number of Embeds
1

Actions

Shares
Downloads
4
Comments
0
Likes
0

Embeds 0

No embeds

Report content

Flagged as inappropriate Flag as inappropriate
Flag as inappropriate

Select your reason for flagging this presentation as inappropriate.

Cancel
    No notes for slide
  • let toFirst = 0::[1;2;3] let myConcat = toFirst @ [4;5;6] @ [7;8;9] http://blogs.msdn.com/b/chrsmith/archive/2008/05/02/f-in-20-minutes-part-i.aspxhttp://blogs.msdn.com/b/chrsmith/archive/2008/05/02/f-in-20-minutes-part-ii.aspxhttp://blogs.msdn.com/b/chrsmith/archive/2008/07/10/mastering-f-lists.aspx
  • Detailed explanation:http://codemonkeyism.com/function-tail-recursive/http://community.bartdesmet.net/blogs/bart/archive/2009/11/08/jumping-the-trampoline-in-c-stack-friendly-recursion.aspxhttp://community.bartdesmet.net/blogs/bart/archive/2010/07/07/the-case-of-the-failed-demo-stackoverflowexception-on-x64.aspx
  • F# future: Compiler to compile automatically different data sources to .NET-types: http://channel9.msdn.com/Events/PDC/PDC10/FT12
  • Statistics from the stackoverflow-site:Ratio = unanswered questions / all questions- The picture is missing OCaml which is about the F# levels. (Not surprisingly, F# is OCaml.)- And Prolog which is about 0.10, so between pythonin and c#. Both of those have totals under 1000.What are the conclusions?- Easy questions are closed immediately from stackoverflow. The problems are real, hard problems of the language or the environment Objective c is the development language of Applen, actionscript is Flash
  • This has been converted from the excel compared to c-language (=direct total and ratio divided by c-language values).C-language is often a reference and did actually perform ok in both axis.Notable: C# and F# together are superior.The lead of functional languages in the quality… Is there any reason why they would have “better programmers”?

Transcript

  • 1. Default lists are linked-lists
    Execute
    The same for the rest
    ::
    let rec loop action mylist =
      match  mylist with
      | [] -> []
      | first::rest ->  action first :: loop action rest
  • 2. Tail recursion
  • 3. Sites
    http://www.meetup.com/FSharpHelsinki/
    http://fssnip.net/
    http://www.tryfsharp.org/
    http://cs.hubfs.net/
    http://msdn.microsoft.com/en-us/fsharp/
    http://research.microsoft.com/en-us/um/cambridge/projects/fsharp/
    http://channel9.msdn.com/Shows/Going+Deep
    http://www.stackoverflow.com
  • 4. F# related blogs
    http://community.bartdesmet.net/blogs/bart/default.aspx
    http://tomasp.net/blog/
    http://blogs.msdn.com/b/dsyme/
    http://codebetter.com/blogs/matthew.podwysocki/default.aspx
    http://rogeralsing.com/
    http://fsharp-code.blogspot.com/
    http://fsharpcode.blogspot.com/
    http://call-with-cc-en.blogspot.com/
    http://blogs.msdn.com/b/andrewkennedy/
    http://wadler.blogspot.com/
    http://blogs.msdn.com/chrsmith/default.aspx
    http://lorgonblog.wordpress.com/
    http://blogs.msdn.com/b/lukeh/
    http://strangelights.com/blog/Default.aspx
    http://themechanicalbride.blogspot.com/
    http://zamboch.blogspot.com/
    http://fsharpnews.blogspot.com/
    http://geekswithblogs.net/akraus1/Default.aspx
    http://bloggemdano.blogspot.com/
    http://diditwith.net/
  • 5. F# Books