-
Notifications
You must be signed in to change notification settings - Fork 1
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
[WIP] support page templates #1
Conversation
Does it seem like a Koka typing bug? |
I think this gets you what you want? I tried just fixing the effect annotation, but ended up having to change some more to actually get it to work. Part of the issue is that there are a few apis that would require bidirectional effects https://dl.acm.org/doi/abs/10.1145/3428207. |
Thanks for the info! But I don't see more commits in So is bidirectional effects currently supported by Koka? |
Please use #2 for further discussion, closing this one. |
This is very work-in-progress (I made some mod for it to compile by 3.1.1, a cleaner PR should be drafted after 3.1.2 is released), I created it as a PR only for a better context in asking your help for the way of proper typing here:
https://github.com/complyue/html/blob/cf4dd28f0ab492d28a6ef270aeeb20006d39481f/html/layout.kk#L61-L69
Template-using example here:
https://github.com/complyue/html/blob/cyue-play/examples/front.kk