F# implementation for BeakerNotebook