module Control.Joint.Schemes.UT (UT (..)) where

import Control.Joint.Core (type (:.), type (:=))
import Control.Joint.Abilities.Interpreted (Interpreted (Primary, run))

newtype UT t u a = UT (u :. t := a)

instance Interpreted (UT t u) where
        type Primary (UT t u) a = u :. t := a
        run (UT x) = x