Idris2Doc : Syntax.StringDiagram.Braided

Syntax.StringDiagram.Braided

(source)

Reexports

importpublic Control.Category.Core
importpublic Control.Category.Functor
importpublic Control.Category.Monoidal
importpublic Control.Category.Braided
importpublic Data.Fin
importpublic Language.Reflection
importpublic Syntax.StringDiagram.Util

Definitions

stringImpl : TTImp->TTImp->TTImp->ElabTTImp
  Expand shortened string diagram notation into a full expression.

This takes two additional parameters: `obj`, which is a wildcard
expression used when passing objects as parameters, and `impl`,
which is the `Braided` implementation the expansion will use.

Totality: total
Visibility: export
string : (0ten : (obj->obj->obj)) ->Braidedcatteni=>TTImp->Elab (catab)
  Enter string diagram notation (for `Braided`).

This elaboration script must be specifically invoked with
`%runElab`. The category is inferred from the return type, but
the tensor product must be passed as an explicit argument.

NOTE: This notation is intended for use with symmetric monoidal
categories, and may be confusing if used in the non-symmetric
braided case. If your category is non-symmetric, it may be better
to use the string diagram notation for `Monoidal` and insert
explicit braiding calls.

Totality: total
Visibility: export