Sha256: cbff1fe752cbd20244efd7adba618e1db85cc440f90caacacfb7ecf50cb908b7
Contents?: true
Size: 588 Bytes
Versions: 53
Compression:
Stored size: 588 Bytes
Contents
module BST ( BST , bstLeft , bstRight , bstValue , empty , fromList , insert , singleton , toList ) where data BST a = Dummy deriving (Eq, Show) bstLeft :: BST a -> Maybe (BST a) bstLeft = undefined bstRight :: BST a -> Maybe (BST a) bstRight = undefined bstValue :: BST a -> Maybe a bstValue = undefined empty :: BST a empty = undefined fromList :: Ord a => [a] -> BST a fromList = undefined insert :: Ord a => a -> BST a -> BST a insert = undefined singleton :: a -> BST a singleton = undefined toList :: BST a -> [a] toList = undefined
Version data entries
53 entries across 53 versions & 1 rubygems