Skip to content

Instantly share code, notes, and snippets.

// Odin Error Challenge in F#
// see: https://rm4n0s.github.io/posts/3-error-handling-challenge/#odins-teachings-in-action
// try pasting the code into: https://sharplab.io/
type F1_Error =
| None
| Account_Is_Empty
| Investment_Lost
type F2_Error =