Skip to content

Instantly share code, notes, and snippets.

@SteveGilham
Created April 26, 2015 14:18
Show Gist options
  • Save SteveGilham/dccbce96950d5bf5081d to your computer and use it in GitHub Desktop.
Save SteveGilham/dccbce96950d5bf5081d to your computer and use it in GitHub Desktop.
// Set the output to the failure state and continue with k
let lexFail s e k =
let storeError () =
s.error e
execute k
K storeError;;
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment