Skip to content

dawedawe/fsih

Folders and files

NameName
Last commit message
Last commit date

Latest commit

8b4e0e1 · Aug 22, 2024

History

44 Commits
May 11, 2024
May 16, 2024
Aug 22, 2024
Dec 24, 2023
Aug 22, 2024
Aug 20, 2024
Dec 24, 2023
Dec 24, 2023
Jan 20, 2024
Dec 24, 2023
Dec 24, 2023
Aug 19, 2024

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