//
// A simple Epoch program
//

// Declare an algebraic sum type
type OptionalString : string | nothing

// Define a function
Display : string optstr
{
    print(optstr)
}

// Overload the function
Display : nothing
{
    print("End of line.")
}

// Entry point function
entrypoint :
{
    OptionalString hello = "Hello, world!"
    OptionalString blank = nothing

    Display(hello)
    Display(blank)
}
