mirror of
https://github.com/xmonad/xmonad.git
synced 2025-08-03 13:41:54 -07:00
unnec. export list
This commit is contained in:
25
StackSet.hs
25
StackSet.hs
@@ -19,30 +19,7 @@
|
|||||||
-- may be on only 1 screen at any given time.
|
-- may be on only 1 screen at any given time.
|
||||||
--
|
--
|
||||||
|
|
||||||
module StackSet (
|
module StackSet where
|
||||||
StackSet, -- abstract
|
|
||||||
|
|
||||||
-- * Introduction and elimination
|
|
||||||
empty, -- :: Int -> StackSet a
|
|
||||||
fromList, -- :: Ord a => (Int,[[a]]) -> StackSet a
|
|
||||||
toList, -- :: StackSet a -> (Int,[[a]])
|
|
||||||
index, -- :: Int -> StackSet a -> [a]
|
|
||||||
current, -- :: StackSet a -> Int
|
|
||||||
|
|
||||||
-- * Queries
|
|
||||||
member, -- :: Ord a => a -> StackSet a -> Bool
|
|
||||||
size, -- :: StackSet a -> Int
|
|
||||||
peek, -- :: StackSet a -> Maybe a
|
|
||||||
|
|
||||||
-- * Modifcations
|
|
||||||
push, -- :: Ord a => a -> StackSet a -> StackSet a
|
|
||||||
view, -- :: Int -> StackSet a -> StackSet a
|
|
||||||
rotate, -- :: Ordering -> StackSet a -> StackSet a
|
|
||||||
shift, -- :: Ord a => Int -> StackSet a -> StackSet a
|
|
||||||
insert, -- :: Ord a => a -> Int -> StackSet a -> StackSet a
|
|
||||||
delete, -- :: Ord a => a -> StackSet a -> StackSet a
|
|
||||||
|
|
||||||
) where
|
|
||||||
|
|
||||||
import Data.Maybe
|
import Data.Maybe
|
||||||
import qualified Data.List as L (delete)
|
import qualified Data.List as L (delete)
|
||||||
|
Reference in New Issue
Block a user