Skip to content

Instantly share code, notes, and snippets.

@Octachron
Created July 19, 2018 20:17
Show Gist options
  • Save Octachron/563f5a5a5ac675a72bb35bdcf5cb13fc to your computer and use it in GitHub Desktop.
Save Octachron/563f5a5a5ac675a72bb35bdcf5cb13fc to your computer and use it in GitHub Desktop.
(* TEST
flags = "-I ${ocamlsrcdir}/parsing"
include ocamlcommon
* expect
*)
let x = Ast_helper.Exp.ident
[%%expect{|
val x :
?loc:Ast_helper.loc ->
?attrs:Ast_helper.attrs -> Ast_helper.lid -> Parsetree.expression = <fun>
|}]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment