F# source code documentation of the standard library - f#

I learned most of my haskell knowledge by browsing though the Haskell docs with source code http://hackage.haskell.org/package/base-4.2.0.1/docs/Data-List.html#v%3Ahead
But I couldn't find the source code of common F# libraries, I only found the docs on how to use them like http://msdn.microsoft.com/en-us/library/ee370406.aspx
Is there something like hackage for F#?

There is an open-source edition of the F# compiler and core library available on GitHub.

Related

Where is the source code for the Dart scanner and AOT compiler?

I have been reading Robert Nystrom's excellent book, "Crafting Interpreters," and he notes that he is a Google developer working on the Dart language. I would like to read the source code for the Dart scanner and ahead-of-time (AOT) compiler, hoping that some of the concepts will make sense from the book.
I've made it as far as https://github.com/dart-lang but where to go from there? There are 107 repositories and I'm lost in the woods!

Implement F# libraries for consumption by TypeScript/Javascript?

I know there are a number of projects which can compile F# to JavaScript.
Does any of these projects support this use case:
developing an application in TypeScript
but writing part of the application in F#, as a library
consuming this F# library from the main TypeScript application, optimally in a type-safe way?
WebSharper produces d.ts files for the compiled JS files. You can read about this in the relevant section of the documentation. However this feature is still experimental and uses an older version of TypeScript.
There is FunScript (https://github.com/ZachBray/FunScript) but it does not seem to be widespread, so it may take you more time than the benefits are.

OCRopus documentation?

Is there a documentation for ocropus?
I am looking for an explanation for the functions like:
make_SegmentPageByRAST():
segment()
RegionExtractor():
setPageLines()
extract()
Thank you.
A requirement of Lua API for OCRopus has been filed in the bug-tracker list of the project.
They will soon be releasing this documentation in the next beta release(expected).
First, note that you can use the command line tools without actual Lua programming.
A good place to see how to use ocroscript is to look at the test cases in
ocroscript/tests and the command line driver scripts in ocroscript/scripts.
Note: The Lua bindings follow the C++ API very closely (the binding is mostly
automatic), so C++ and Lua documentation are pretty much the same problem.

XMLDoc Delphi source code documentation generation

I assume that XML and Delphi Documentation Guidelines are becoming the de-facto standard for source-code documenting comments. That is good. The bad thing is that I cannot find any Delphi documentation generator (free or commercial) that fully supports these standards (for example Doc-O-Matic Express does not support <list> tags).
The question is: what XML documentation standards and Delphi source code XMLDoc documentation generators are ready to use now?
(You are asking two questions. That's probably why you are getting no answers.)
On the tools front, take a look at these previously asked questions:
IDE Plugin for XMLDoc
Code documentation for delphi similar to javadoc or c# xml doc
I would check these products:
doxygen
NDoc 3 (but maybe it requires access to .Net assemblies - then it will not work)

Is there a site which offers an interactive F# shell?

Is there a site like try ruby that allows one to experiment in an F# interactive shell? I'd like to try a few commands without installing Visual Studio or Mono.
There is also now tryfs.net.
Not yet that I know of. (This is something the F# team would love to do if/when we can find the free time to put it together.)
(Note that you don't need VS or Mono - you can just have .Net and then install the F# CTP and just get the runtime, command-line compiler, and fsi.exe, and use that. But it would be nicer if there were a no-install web-site-visit try-it thingy.)
You can use codepad.org for experiments with OCaml. The core of F# and OCaml is similar, just remember not to use light version of syntax, advanced F# features and .net libraries :)
ideone.com now supports F# ! Here are some samples.
It's not really a REPL, but rather an online compiler.

Resources