From 832c350b6115b1b29a42c139b976245b7898fad0 Mon Sep 17 00:00:00 2001 From: LordBaryhobal Date: Fri, 22 May 2026 17:38:13 +0200 Subject: [PATCH] fix: use generic Difference type in example --- examples/00_syntax_prototype/02_custom_types.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/examples/00_syntax_prototype/02_custom_types.py b/examples/00_syntax_prototype/02_custom_types.py index 0297058..16bf442 100644 --- a/examples/00_syntax_prototype/02_custom_types.py +++ b/examples/00_syntax_prototype/02_custom_types.py @@ -21,7 +21,7 @@ lat + lon # Invalid operation # Registered operations are permitted lat1: Latitude = lat[0] lat2: Latitude = lat[1] -lat_diff: LatitudeDiff = lat2 - lat1 # Valid operation +lat_diff: Difference[Latitude] = lat2 - lat1 # Valid operation # In addition to the type, a column can have one or more constraints, either defined inline or in a separate file df2: Frame[