1module IRTS.Inliner where
5import IRTS.Defunctionalise
7inline :: DDefs -> DDefs
8inline xs = let sep = toAlist xs
9 inls = map (inl xs) sep in
10 addAlist inls emptyContext
12inl :: DDefs -> (Name, DDecl) -> (Name, DDecl)
13inl ds d@(n, DFun n' args exp)
14 = case evalD ds exp of
15 Just exp' -> (n, DFun n' args exp')
keysesc to close
- j k
- move down, up
- enter
- open
- esc
- back, or up a level
- 1 2 3 4
- readme, files, commits, refs
- /
- filter
- y
- copy the clone command
- c
- compare the chosen commit with another (or shift-click both)
- ?
- show or hide this list