3Description : Inline expressions.
6Maintainer : The Idris Community.
8module IRTS.Inliner where
12import IRTS.Defunctionalise
14inline :: DDefs -> DDefs
15inline xs = let sep = toAlist xs
16 inls = map (inl xs) sep in
17 addAlist inls emptyContext
19inl :: DDefs -> (Name, DDecl) -> (Name, DDecl)
20inl ds d@(n, DFun n' args exp)
21 = case evalD ds exp of
22 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