repositories
/
mTask.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
5395787
)
simplify expression
author
Mart Lubbers
<mart@martlubbers.net>
Sat, 28 Jan 2017 13:59:36 +0000
(14:59 +0100)
committer
Mart Lubbers
<mart@martlubbers.net>
Sat, 28 Jan 2017 13:59:36 +0000
(14:59 +0100)
miTask.icl
patch
|
blob
|
history
diff --git
a/miTask.icl
b/miTask.icl
index
18c78c8
..
407e930
100644
(file)
--- a/
miTask.icl
+++ b/
miTask.icl
@@
-32,7
+32,7
@@
Start world = startEngine mTaskTask world
bc :: Main (ByteCode () Stmt)
bc = sds \x=1 In sds \pinnetje=1 In {main =
- IF (digitalRead D3
==. lit True
) (
+ IF (digitalRead D3) (
x =. x +. lit 1 :.
pub x
) (