rgesteve / tryingfs

Repo to try out F# (mostly Aether optics)

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Trying out F#

Along with a codespaces-based notebook/classic source development environment.

Using the notebook (need to revise)

This repo is configured with codespaces to use dotnet-interactive to drive a jupyter notebook.

Make sure that the right kernels are installed with:

$ jupyter kernelspec list
Available kernels:
  .net-csharp        /home/vscode/.local/share/jupyter/kernels/.net-csharp
  .net-fsharp        /home/vscode/.local/share/jupyter/kernels/.net-fsharp
  .net-powershell    /home/vscode/.local/share/jupyter/kernels/.net-powershell
  python3            /usr/local/share/jupyter/kernels/python3

If you get

dotnet interactive jupyter install --http-port-range 1100-1200

If you see the dotnet kernels installed, you can do:

$ jupyter notebook --ip=0.0.0.0  --allow-root  --notebook-dir=.

If you get an error creating the dotnet-kernel-backed notebook, copy the provided "jupyter_notebook_config.py" to ~/.jupyter.

Included notebooks

  • FSharpFirst.ipynb : Trying out various curious syntactic forms

Data

About

Repo to try out F# (mostly Aether optics)


Languages

Language:Jupyter Notebook 97.7%Language:Dockerfile 2.2%Language:F# 0.0%Language:Python 0.0%