Karya, built on 2018-05-31T02:46:59 (patch 0a1a35479c514820d77330ae8a978975ba22a47a)

Safe HaskellNone

Util.Set

Description

Extra utils for Data.Set.

Synopsis

Documentation

lookup_below :: Ord k => k -> Set k -> Maybe k Source #

Find a key at or below the given one.

find_min :: Set k -> Maybe k Source #

Safe versions of findMin and findMax.