Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
I
iTasks-SDK
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
74
Issues
74
List
Boards
Labels
Service Desk
Milestones
Merge Requests
7
Merge Requests
7
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Operations
Operations
Incidents
Environments
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
clean-and-itasks
iTasks-SDK
Commits
ab3830da
Commit
ab3830da
authored
Jun 07, 2019
by
Tim Steenvoorden
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
apply Rinus's patch from e-mail (20190606-1407)
parent
0f236fad
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
3 deletions
+3
-3
Examples/DynamicEditor/DynEditorExample.icl
Examples/DynamicEditor/DynEditorExample.icl
+3
-3
No files found.
Examples/DynamicEditor/DynEditorExample.icl
View file @
ab3830da
...
...
@@ -76,9 +76,9 @@ where
->
Typed
TaskConstExpr
(
Task
(
a
,
b
))
)
,
functionConsDyn
"When"
"when"
(
dynamic
\(
Typed
task1
)
(
Typed
steps
)
->
Typed
(
When
task1
steps
)
::
(
dynamic
\(
Typed
task1
)
(
Typed
steps
)
->
Typed
(
When
task1
[(
expr
,
pred
,
tfExpr
)\\
(
Typed
expr
,
pred
,
Typed
tfExpr
)
<-
steps
]
)
::
A
.
a
b
:
(
Typed
TaskConstExpr
(
Task
a
))
(
Typed
[(
FunExpr
,
String
,
TaskFuncExpr
)]
(
a
->
Task
b
))
(
Typed
TaskConstExpr
(
Task
a
))
(
Typed
[(
Typed
FunExpr
(
a
->
Bool
)
,
String
,
Typed
TaskFuncExpr
(
a
->
Task
a
)
)]
(
a
->
Task
b
))
->
Typed
TaskConstExpr
(
Task
b
)
)
<<@@@
applyHorizontalClasses
,
listConsDyn
"[(FunExpr, String, TaskFuncExpr)]"
"[(FunExpr, String, TaskFuncExpr)]"
...
...
@@ -225,7 +225,7 @@ evalTaskFuncExpr (UpdateInformation p) (VInt i) = (updateInformation p [] i @ V
evalTaskFuncExpr
(
UpdateInformation
p
)
(
VBool
b
)
=
(
updateInformation
p
[]
b
@
VBool
)
<<@
ApplyLayout
arrangeHorizontal
evalTaskFuncExpr
(
UpdateInformation
p
)
(
VString
s
)
=
(
updateInformation
p
[]
s
@
VString
)
<<@
ApplyLayout
arrangeHorizontal
evalTaskFuncExpr
(
UpdateInformation
p
)
(
VTuple
a
b
)
=
(
viewInformation
p
[]
()
||-
evalTaskFuncExpr
(
UpdateInformation
""
)
a
evalTaskFuncExpr
(
UpdateInformation
""
)
a
-&&-
evalTaskFuncExpr
(
UpdateInformation
""
)
b
@
\(
a
,
b
)
->
VTuple
a
b
)
<<@
ApplyLayout
arrangeHorizontal
evalTaskFuncExpr
Return
value
=
return
value
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment