Copyright | (c) Kimiyuki Onaka 2020 |
---|---|
License | Apache License 2.0 |
Maintainer | kimiyuki95@gmail.com |
Stability | experimental |
Portability | portable |
Safe Haskell | None |
Language | Haskell2010 |
Synopsis
- run :: (MonadAlpha m, MonadError Error m) => Program -> m Program
Documentation
run :: (MonadAlpha m, MonadError Error m) => Program -> m Program Source #
run
unpack tuples.
Examples
Before:
tuple<int, int> c = make_tuple(a, b); func(get<0>(c), get<1>(c));
After:
int c0 = a; int c1 = b; func(c0, c1);