Advertisement
Guest User

Untitled

a guest
Jul 24th, 2015
259
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.26 KB | None | 0 0
  1. Lwt.async (fun () ->
  2. let my_paragraph = Dom_html.getElementById "name_box" in
  3. print_endline "loaded";
  4. Lwt_js_events.clicks my_paragraph
  5. (fun ev thread -> Lwt.return (print_endline " clicked")) >>= fun () ->
  6. Lwt.return @@ print_endline "123")
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement