From 5a3fb6aa2851c85be767d7554c77d0307be2227d Mon Sep 17 00:00:00 2001 From: Christoph Ruegg Date: Fri, 20 Jun 2014 13:24:17 +0200 Subject: [PATCH] Docs: show new F# script --- docs/content/index.fsx | 7 ++----- 1 file changed, 2 insertions(+), 5 deletions(-) diff --git a/docs/content/index.fsx b/docs/content/index.fsx index 52ff810a..24411210 100644 --- a/docs/content/index.fsx +++ b/docs/content/index.fsx @@ -71,13 +71,10 @@ It also works well in the interactive F# environment (REPL) which can be launche `fsharpi` on all platforms (including Linux). As a start let's enter the following lines into F# interactive. Append `;;` to the end of a line to run all code up to there immediately and print the result to the output. Use the tab key for auto-completion or `#help;;` for help. -You may also need to tell F# interactive where to look for assemblies with -the `#I "/some/path"` statement first before you can reference them with the `#r` statements. +For convenience our F# packages include a small script that sets everything up properly: [lang=fsharp] - #I "/path/to/referenced/assemblies" - #r "MathNet.Numerics.dll" - #r "MathNet.Numerics.FSharp.dll" + #load "../packages/MathNet.Numerics.FSharp.3.0.0/MathNet.Numerics.fsx" open MathNet.Numerics SpecialFunctions.Gamma(0.5)