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