<>

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.
optparse-applicative Options.Applicative.Help.Pretty, attoparsec Data.Attoparsec.Internal.Types, hedgehog Hedgehog.Internal.Prelude Hedgehog.Internal.Prelude, prettyprinter Prettyprinter, base-compat Data.Monoid.Compat Data.Semigroup.Compat Prelude.Compat, ansi-wl-pprint Text.PrettyPrint.ANSI.Leijen, fast-logger System.Log.FastLogger.Internal, pandoc-types Text.Pandoc.Builder, streaming Streaming, rio RIO.Prelude, validity Data.Validity, base-prelude BasePrelude BasePrelude.Operators, turtle Turtle, classy-prelude ClassyPrelude, Cabal-syntax Distribution.Compat.Prelude Distribution.Compat.Semigroup, aws Aws.Iam.Internal, universum Universum.Monoid, ihaskell IHaskellPrelude, basement Basement.Compat.Base Basement.Compat.Semigroup Basement.Imports, numhask NumHask.Prelude NumHask.Prelude, base-compat-batteries Data.Monoid.Compat Data.Semigroup.Compat, clash-prelude Clash.HaskellPrelude, github GitHub.Internal.Prelude, HaTeX Text.LaTeX.Base Text.LaTeX.Base.Syntax, envparse Env, foundation Foundation, Agda Agda.Syntax.Common.Pretty Agda.TypeChecking.Pretty Agda.Utils.Semigroup, dimensional Numeric.Units.Dimensional.Prelude, haxl Haxl.Prelude, rebase Rebase.Prelude, quaalude Essentials, boomerang Text.Boomerang.Combinators, mixed-types-num Numeric.MixedTypes.PreludeHiding, text-printer Text.Printer, constrained-categories Control.Category.Constrained.Prelude Control.Category.Hask, flat Flat.Encoder, copilot-language Copilot.Language.Prelude, prettyprinter-compat-ansi-wl-pprint Text.PrettyPrint.ANSI.Leijen, LambdaHack Game.LambdaHack.Core.Prelude Game.LambdaHack.Core.Prelude, cabal-install-solver Distribution.Solver.Compat.Prelude, faktory Faktory.Prelude
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