Skip to content

Quoteme/leandate

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Leandate

A simple library for Lean4 to work with dates and times.

Installation

Add the following to your lakefile.lean:

require std from git "https://github.com/quoteme/leandate" @ "mastemaster

Usage

import «Leandate».Composites.DateTime

#eval ( { day := 31, month := Month.december, year := 2020 } : Date ) + ( 1 : Day ) + (( 3 : Fin 12 ) : Month)

#eval DateTime.now -- 17 March 2024 12:34:47

About

Leandate - A date and time library for Lean4

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages