From 5113f2157c5aa257ad7ebf555cb6a551701d169a Mon Sep 17 00:00:00 2001 From: Michael Williamson Date: Mon, 10 Aug 2026 10:19:49 +0100 Subject: Add generic struct example without any outputs --- examples/09-list/src/point.hob | 8 ++++++++ 1 file changed, 8 insertions(+) create mode 100644 examples/09-list/src/point.hob (limited to 'examples/09-list/src') diff --git a/examples/09-list/src/point.hob b/examples/09-list/src/point.hob new file mode 100644 index 0000000..8dd438c --- /dev/null +++ b/examples/09-list/src/point.hob @@ -0,0 +1,8 @@ +struct Path { + field points: List[Point]; +} + +struct Point { + field x: Int32; + field y: Int32; +} -- cgit v1.2.3