git.iko.soy
/
Idris-dev
readme
files
commits
refs
on
master
help
sign in
Add updateM to State effect
de7360b
Edwin Brady
14 years ago
effects/Effect/State.idr
+5
compare with master
unified
split
@@ -29,3 +29,8 @@ update : (x -> x) -> Eff m [STATE x] ()
29
update f = do val <- get
29
update f = do val <- get
30
put (f val)
30
put (f val)
31
31
32
+
updateM : (x -> y) -> EffM m [STATE x] [STATE y] ()
33
+
updateM f = do val <- get
34
+
putM (f val)
35
+
36
+
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