// Generated by bynkc — do not edit by hand.
// commons test

import { Ok, Err, Some, None, type Result, type Option, type ValidationError } from "./runtime.js";

export interface Point {
  readonly x: number;
  readonly y: number;
}

export const Point = {
};

export function origin(): Point {
  return { x: 0, y: 0 };
}

export function xOf(p: Point): number {
  return p.x;
}

