Tin

Examples · learn/13-modules · 199 of 339

twice.fails

examples/learn/13-modules/twice.fails.tintin run examples/learn/13-modules/twice.fails.tin
import "./lib/joints.tin"

// joints.tin already has a type called Joint
type Joint = { name: string }

fn main() {
  print(Joint { name: "elbow" })
}