Skip to content

Commit

Permalink
added missing expression construct
Browse files Browse the repository at this point in the history
  • Loading branch information
azardilis committed Sep 5, 2017
1 parent a92e66d commit 2382994
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/Chromar/RExprs.hs
Original file line number Diff line number Diff line change
Expand Up @@ -304,6 +304,7 @@ lExp nms (ConE nm) = ConE nm
lExp nms (RecConE nm fexps) = RecConE nm (map (tFExp nms) fexps)
where
tFExp nms (nm, exp) = (nm, lExp nms exp)
lExp nms (CondE e1 e2 e3) = CondE (lExp nms e1) (lExp nms e2) (lExp nms e3)
lExp nms _ = undefined

mkLiftExp :: Set Name -> Exp -> Exp
Expand Down

0 comments on commit 2382994

Please sign in to comment.