lib: 6-tuple accessors
This commit is contained in:
parent
3bdd8916b9
commit
3a7a5d6035
@ -73,6 +73,13 @@ third5 (_,_,x,_,_) = x
|
||||
fourth5 (_,_,_,x,_) = x
|
||||
fifth5 (_,_,_,_,x) = x
|
||||
|
||||
first6 (x,_,_,_,_,_) = x
|
||||
second6 (_,x,_,_,_,_) = x
|
||||
third6 (_,_,x,_,_,_) = x
|
||||
fourth6 (_,_,_,x,_,_) = x
|
||||
fifth6 (_,_,_,_,x,_) = x
|
||||
sixth6 (_,_,_,_,_,x) = x
|
||||
|
||||
-- lists
|
||||
|
||||
splitAtElement :: Eq a => a -> [a] -> [[a]]
|
||||
|
||||
Loading…
Reference in New Issue
Block a user