Exact wall clock values
Construct and compare immutable clock positions with nanosecond fractions and strict text parsing.
Download .aner sourcelet start: Time = Time(hour: 9, minute: 30, second: 0)
let precise = Time.parse("09:30:00.125")
print(start.str())
print(precise.str())
print(precise.nanosecond())
print(precise > start)
Make it your experiment.
With Aner installed, save this program as examples/time_basic.aner inside a folder for your experiment. Open a terminal in that folder, then check and run the program.
aner check examples/time_basic.aner
aner run examples/time_basic.anerThe aner command must be on your PATH. Follow the installation guide if your terminal cannot find it.
Use the compatible native Aner development engine with import free temporal, binary, Range, Optional and Result values, and VS Code extension 0.1.37 or newer. No import is required. Calendar values use Gregorian and explicit fixed offset contracts; Bytes uses strict explicit text encoding; Range is lazy; outcome payload access is checked. See each separate native value reference for exact ownership, resource limits and time/space complexity.
Iris and Wine are teaching datasets with their own attribution. Example outcomes are not comparative benchmarks or evidence of clinical validity.
Dataset sources & attribution