fn main(): Unit with {Console} = {
    Console.print("=== Using Standard Library ===")
    Console.print("identity(42) = " + toString(identity(42)))
    Console.print("not(true) = " + toString(not(true)))
    Console.print("and(true, false) = " + toString(and(true, false)))
    Console.print("or(true, false) = " + toString(or(true, false)))
    let x = opt.some(10)
    let y = opt.none()
    Console.print("isSome(Some(10)) = " + toString(opt.isSome(x)))
    Console.print("isNone(None) = " + toString(opt.isNone(y)))
    Console.print("unwrapOr(Some(10), 0) = " + toString(opt.unwrapOr(x, 0)))
    Console.print("unwrapOr(None, 0) = " + toString(opt.unwrapOr(y, 0)))
}

let output = run main() with {}
