Skip to content

dawedawe/fsih

Repository files navigation

Fsih

Fsih provides you with the h function, meant to be used in the F# REPL fsi.
It's modeled after the h function in the Elixir iex REPL.

To use it, just start an fsi session with dotnet fsi.
Load the package and open the namespace:

#r "nuget: Fsih";;
open Fsih;;

Apply h to any expression to get its documentation:

h fst;;
Description:
Return the first element of a tuple, fst (a,b) = a.

Parameters:
- tuple: The input tuple.
Returns:
The first value.

Examples:
fst ("first", 2)  //  Evaluates to "first"

Full name: Microsoft.FSharp.Core.Operators.fst
Assembly: FSharp.Core.dll