Data.List.Unicode

base-unicode-symbols-0.2.2.4: Unicode alternatives for common functions and operators

Copyright | 2009–2011 Roel van Dijk
License | BSD3 (see the file LICENSE)
Maintainer | Roel van Dijk <vandijk.roel@gmail.com>
Safe Haskell | Safe
Language | Haskell98

Data.List.Unicode

Description

Synopsis

- (⧺) :: [α] -> [α] -> [α]
- (∈) :: Eq α => α -> [α] -> Bool
- (∋) :: Eq α => [α] -> α -> Bool
- (∉) :: Eq α => α -> [α] -> Bool
- (∌) :: Eq α => [α] -> α -> Bool
- (∪) :: Eq α => [α] -> [α] -> [α]
- (∖) :: Eq α => [α] -> [α] -> [α]
- (∆) :: Eq α => [α] -> [α] -> [α]
- (∩) :: Eq α => [α] -> [α] -> [α]

# Documentation

(⧺) :: [α] -> [α] -> [α] infixr 5 #

(⧺) = (`++`)

U+29FA, DOUBLE PLUS

(∈) :: Eq α => α -> [α] -> Bool infix 4 #

(∈) = `elem`

U+2208, ELEMENT OF

(∋) :: Eq α => [α] -> α -> Bool infix 4 #

(∋) = `flip` (∈)

U+220B, CONTAINS AS MEMBER

(∉) :: Eq α => α -> [α] -> Bool infix 4 #

(∉) = `notElem`

U+2209, NOT AN ELEMENT OF

(∌) :: Eq α => [α] -> α -> Bool infix 4 #

(∌) = `flip` (∉)

U+220C, DOES NOT CONTAIN AS MEMBER

(∪) :: Eq α => [α] -> [α] -> [α] infixl 6 #

(∪) = `union`

U+222A, UNION

(∖) :: Eq α => [α] -> [α] -> [α] infixl 9 #

(∖) = (`\\`)

U+2216, SET MINUS

(∆) :: Eq α => [α] -> [α] -> [α] infixl 9 #

Symmetric difference

a ∆ b = (a ∖ b) ∪ (b ∖ a)

U+2206, INCREMENT

(∩) :: Eq α => [α] -> [α] -> [α] infixr 6 #

(∩) = `intersect`

U+2229, INTERSECTION