RileyEv / CircuitFlow

Dataflow DSL, using Symmetric Monoidal Categories
https://circuitflow.rly.rocks/
BSD 3-Clause "New" or "Revised" License
6 stars 2 forks source link

SwapN #55

Open RileyEv opened 3 years ago

RileyEv commented 3 years ago

swapN :: (Length xs ~ m, Length ys ~ n) => (SNat m, SNat n) -> xs ++ ys -> ys ++ xs