Revert examples

This commit is contained in:
Ayaz Hafiz 2022-11-22 12:56:11 -06:00
parent 91ceebc065
commit 629d4236e3
No known key found for this signature in database
GPG Key ID: 0E2A37416A25EF58

View File

@ -8,17 +8,4 @@ app "rocLovesPlatforms"
imports []
provides [main] to pf
Html state : [
Element (List (Html state)),
]
translateStatic : Html _ -> Html _
translateStatic = \node ->
when node is
Element children ->
newChildren = List.map children translateStatic
Element newChildren
main = when translateStatic (Element []) is
_ -> ""
main = "Which platform am I running on now?\n"