Stream: beginners

Topic: ✔ Do platform docs include docs for main?


view this post on Zulip Sky Rose (Jan 10 2024 at 15:21):

I was looking at docs for the new WASM-4 platform, and didn't see any reference to what the platform requires from an app. Based on the platform source and example, it's Model and main : { init : Model, update : Model -> Task Model [] }.

Am I missing something or is this very important piece of information missing from the docs?

I don't see main when searching in the basic-cli docs either.

view this post on Zulip Anton (Jan 10 2024 at 15:38):

The requires are indeed not automatically included in the generated docs, I'll make an issue for it.

view this post on Zulip Anton (Jan 10 2024 at 15:45):

#6374

view this post on Zulip Notification Bot (Jan 10 2024 at 16:20):

Sky Rose has marked this topic as resolved.


Last updated: Jul 06 2025 at 12:14 UTC