hare

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

commit 55b39fb49bb0b20976058cd8302e73559767ed42
parent 83d0448fa2936aa47c00f6b531534bf50d9849d0
Author: Byron Torres <b@torresjrjr.com>
Date:   Mon, 31 Jan 2022 23:46:24 +0000

add new() TODO #565

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

Diffstat:
Mdatetime/datetime.ha | 2++
1 file changed, 2 insertions(+), 0 deletions(-)

diff --git a/datetime/datetime.ha b/datetime/datetime.ha @@ -89,6 +89,8 @@ fn init() datetime = datetime { // TODO: Allow and correct for overflowing units like Golang? Most likely not. // Defeats the purpose of validation at creation. I see little benefit. // +// TODO: fix calls with `years <= -4715`. https://todo.sr.ht/~sircmpwn/hare/565 +// export fn new( // TODO: should this be `nullable *chrono::timezone`? // would interface better with other code, i presume.