hare

The Hare programming language
git clone https://git.torresjrjr.com/hare.git
Log | Files | Refs | README | LICENSE

commit a3573b91fd0d0fcc15ad82a276bc6ab459aa0cf0
parent efe77dff6d8b88845b9e9fc5cd18451e4ca2ad14
Author: Byron Torres <b@torresjrjr.com>
Date:   Mon, 10 Jan 2022 17:57:44 +0000

simplify time::interval

Signed-off-by: Byron Torres <b@torresjrjr.com>

Diffstat:
Mtime/types.ha | 5+----
1 file changed, 1 insertion(+), 4 deletions(-)

diff --git a/time/types.ha b/time/types.ha @@ -33,7 +33,4 @@ export type instant = struct { }; // Represents a unique interval of time between two instants. -export type interval = struct { - start: instant, - end: instant, -}; +export type interval = (instant, instant);