roc/examples/virtual-dom-wip/example-server.roc
Agus Zubiaga 8dedd9f03c
New app header syntax
Implements the new app header syntax as discussed in Zulip [1].

    app [main] {
	cli: platform "../platform/main.roc",
	json: "../json/main.roc"
    }

Old headers still parse and are automatically upgraded to the new
syntax by the formatter.

[1] 418444862
2024-05-01 10:49:01 -03:00

5 lines
113 B
Text

app [app] { pf: platform "platform/server-side.roc" }
import ExampleApp exposing [exampleApp]
app = exampleApp