import public Control.Category.Core
import public Control.Category.Functor
import public Control.Category.Monoidal
import public Control.Category.Cartesian
import public Data.Fin
import public Language.Reflection
import public Syntax.StringDiagram.UtilstringImpl : TTImp -> TTImp -> TTImp -> Elab TTImpExpand 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 `Cartesian` implementation the expansion will use.
string : (0 ten : (obj -> obj -> obj)) -> Cartesian cat ten i => TTImp -> Elab (cat a b)Enter string diagram notation (for `Cartesian`).
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.