Advertisement
Guest User

Untitled

a guest
Aug 5th, 2014
204
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
OCaml 0.11 KB | None | 0 0
  1. rule int = parse
  2. | (['0'-'9']* as integer) eof { string_of_int integer }
  3. | _ { invalid_arg "not an integer" }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement