Skip to content

synbioz/elm-time-overlap

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Time Overlap Function

Introduction

A module for obtaining non overlapping events from a list of event.

An Event is something that have a start and an end time and is represented as a Tuple (start, end) in this library.

Usage

events = [ (1.0, 5.0), (6.0, 10.0), (3.0, 7.0) ]

unOverlap identity events == [ [ (1.0, 5.0)
                               , (6.0, 10.0)
                               ]
                             , [ (3.0, 7.0) ]
                             ]

Look at the tests for an example with a record.

About

No description or website provided.

Topics

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages