(module main)

(fn maybe_value () -> (option i32)
  (some i32 42))

(fn maybe_empty () -> (option i32)
  (none i32))

(fn maybe_wide_value () -> (option i64)
  (some i64 2147483648i64))

(fn maybe_wide_empty () -> (option i64)
  (none i64))

(fn maybe_float_value () -> (option f64)
  (some f64 42.5))

(fn maybe_float_empty () -> (option f64)
  (none f64))

(fn maybe_flag_value () -> (option bool)
  (some bool true))

(fn maybe_flag_empty () -> (option bool)
  (none bool))

(fn maybe_string_value () -> (option string)
  (some string "slovo"))

(fn maybe_string_empty () -> (option string)
  (none string))

(fn result_ok () -> (result i32 i32)
  (ok i32 i32 42))

(fn result_err () -> (result i32 i32)
  (err i32 i32 7))

(fn main () -> i32
  0)
