Skip to content

Instantly share code, notes, and snippets.

@owensd

owensd/swiccup-next.swift Secret

Created Apr 7, 2017
Embed
What would you like to do?
html |>
body |> [
h1 <| ["class": "welcome"] <| ["id": "title"] |> "Welcome to Swiccup",
div <| ["id": "message", "class": "important"] |> "This is only the beginning.",
ol |> (1...4).map {
li |> "item #\($0)"
}]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment