Script Declarations #
DSL definitions to define a Lake script for a package.
Equations
- One or more equations did not get rendered due to their size.
Instances For
Define a new Lake script for the package.
Example
/-- Display a greeting -/
script «script-name» (args) do
if h : 0 < args.length then
IO.println s!"Hello, {args[0]'h}!"
else
IO.println "Hello, world!"
return 0
Equations
- One or more equations did not get rendered due to their size.
Instances For
Equations
- One or more equations did not get rendered due to their size.