<> -package:mixed-types-num

An associative operation.

Examples

>>> [1,2,3] <> [4,5,6]
[1,2,3,4,5,6]
>>> Just [1, 2, 3] <> Just [4, 5, 6]
Just [1,2,3,4,5,6]
>>> putStr "Hello, " <> putStrLn "World!"
Hello, World!
The normal mappend function with right associativity instead of left.
An associative operation.
>>> [1,2,3] <> [4,5,6]
[1,2,3,4,5,6]
Beside. <> is associative, with identity empty.
Beside. <> is associative, with identity empty.
Join two docs together horizontally without a gap.
Infix synonym for mappend.
dense matrix product
>>> let a = (3><5) [1..]

>>> a
(3><5)
[  1.0,  2.0,  3.0,  4.0,  5.0
,  6.0,  7.0,  8.0,  9.0, 10.0
, 11.0, 12.0, 13.0, 14.0, 15.0 ]
>>> let b = (5><2) [1,3, 0,2, -1,5, 7,7, 6,0]

>>> b
(5><2)
[  1.0, 3.0
,  0.0, 2.0
, -1.0, 5.0
,  7.0, 7.0
,  6.0, 0.0 ]
>>> a <> b
(3><2)
[  56.0,  50.0
, 121.0, 135.0
, 186.0, 220.0 ]
An infix synonym for mappend.
Paste two boxes together horizontally, using a default (top) alignment.
Type-level semigroup composition (<>).
The document (x <> y) concatenates document x and document y. It is an associative operation having empty as a left and right unit. (infixr 6)
d1 <> d2 is a Diagram with d1 to the left of d2, aligned along their top edges.
An associative operation.
An associative operation.
(a <> b) <> c = a <> (b <> c)
If a is also a Monoid we further require
(<>) = mappend
Concat two error message strings.
The document (x <> y) concatenates document x and document y. It is an associative operation having empty as a left and right unit. (infixr 6)
Matrix product
Matrix product.