diff options
author | Tom Smeding <tom@tomsmeding.com> | 2021-06-27 18:34:35 +0200 |
---|---|---|
committer | Tom Smeding <tom@tomsmeding.com> | 2021-06-27 18:34:35 +0200 |
commit | d4abcc3b2dfefbbcb7cd4a182eec64f1da42d951 (patch) | |
tree | 1ab301617043ac6df228ef617afa22633a01a671 /Sink.hs | |
parent | 0fefe4822c65bde81ec4c0da1b5b32a9b411ca79 (diff) |
Diffstat (limited to 'Sink.hs')
-rw-r--r-- | Sink.hs | 1 |
1 files changed, 1 insertions, 0 deletions
@@ -39,6 +39,7 @@ sinkExp w = \case Ifold sht e1 e2 e3 -> Ifold sht (sinkExp w e1) (sinkExp w e2) (sinkExp w e3) Index e1 e2 -> Index (sinkExp w e1) (sinkExp w e2) Shape e -> Shape (sinkExp w e) + Undef t -> Undef t sinkExp1 :: Exp env a -> Exp (t ': env) a sinkExp1 = sinkExp (wSucc wId) |