Skip to content

Instantly share code, notes, and snippets.

@SteveGilham
Created April 26, 2015 14:20
Show Gist options
  • Save SteveGilham/1c539a693cf646ce87ae to your computer and use it in GitHub Desktop.
Save SteveGilham/1c539a693cf646ce87ae to your computer and use it in GitHub Desktop.
// Define a result type of a lexeme list or error message:
type lexerResult<'lexeme> =
Success of 'lexeme list
| Failure of string;;
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment