Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

tutoreact: Forum_notif.notify doesn't take a function as argument but a Forum_notif.server_notif #67

Open
adrien-n opened this issue Apr 2, 2017 · 0 comments

Comments

@adrien-n
Copy link
Contributor

adrien-n commented Apr 2, 2017

The compiler complains about the second argument to notify in the following line:

Forum_notif.notify forumid (fun userid -> Lwt.return (Some id));

The message is:

This expression should not be a function, the expected type is Forum_notif.server_notif

I'm not sure what the fix should be.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant