A component based functional template language

add let bindings to meta attributes #6

Open t.ewert.foo
Open opened by t.ewert.foo

Meta attributes on definitions should be extended in a way, that functions do not get evaluated until the end. Only after the body got rendered, the provided functions get evaluated - receiving the top level let bindings as input.

page BlogPost(
  label: "Blog Post",
  displayName: fun (title) -> "Blog - " ++ title,
) {
  let title = #String(label: "Title");
}
Sign up or Sign in to add to the discussion.