fix: use generic Difference type in example

This commit is contained in:
2026-05-22 17:38:13 +02:00
parent 3d599b3462
commit 832c350b61

View File

@@ -21,7 +21,7 @@ lat + lon # Invalid operation
# Registered operations are permitted # Registered operations are permitted
lat1: Latitude = lat[0] lat1: Latitude = lat[0]
lat2: Latitude = lat[1] 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 # In addition to the type, a column can have one or more constraints, either defined inline or in a separate file
df2: Frame[ df2: Frame[