git.iko.soy
/
Idris-dev
readme
files
commits
refs
on
master
help
sign in
Add basic infrastructure for IO support in the interpreter
ab89bf0
David Christiansen
14 years ago
src/Core/Execute.hs
new file
+10
compare with master
unified
split
@@ -0,0 +1,10 @@
1
+
module
Core.Execute
where
2
+
3
+
import
Core.TT
4
+
import
Core.Evaluate
5
+
6
+
-- | Attempt to perform a side effect. Return either Just the next step in
7
+
-- evaluation (after performing the side effect through IO), or Nothing if no
8
+
-- IO was performed.
9
+
execute
::
TT Name
->
Idris (Maybe (TT Name))
10
+
execute tm =
Nothing
keys
esc 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