Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/haskell-github-trust/thyme

A faster date and time library based on time
https://github.com/haskell-github-trust/thyme

haskell time

Last synced: about 11 hours ago
JSON representation

A faster date and time library based on time

Awesome Lists containing this project

README

        

# thyme

[![CI](https://github.com/haskell-github-trust/thyme/actions/workflows/haskell.yml/badge.svg)](https://github.com/haskell-github-trust/thyme/actions/workflows/haskell.yml) [![Hackage](https://img.shields.io/hackage/v/thyme.svg?logo=haskell)](http://hackage.haskell.org/package/thyme)

A faster date and time library based on [time][].

* Trades speed for slightly less precision: micro- (μs; 10-6)
versus pico-seconds (ps; 10-12).
* Better type-safety for date and time arithmetic.
* Ships with a selection of [Iso'][]s and [Lens'][]s for [lens][].

## Building

### Library

```
cabal build
```

### Haddock

```
cabal haddock
```

[Iso']: http://hackage.haskell.org/package/lens/docs/Control-Lens-Iso.html#t:Iso-39-
[Lens']: http://hackage.haskell.org/package/lens/docs/Control-Lens-Lens.html#t:Lens-39-
[lens]: http://hackage.haskell.org/package/lens
[time]: http://hackage.haskell.org/package/time