Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
clean-and-itasks
clean-libraries
Commits
052b17e6
Commit
052b17e6
authored
May 16, 2008
by
Rinus Plasmeijer
Browse files
bugje uit <| gehaald
parent
bebbc18a
Changes
1
Show whitespace changes
Inline
Side-by-side
libraries/iTasks/iTasksCombinators.icl
View file @
052b17e6
...
...
@@ -54,13 +54,14 @@ where
=
dorepeatTask
na
tst
(<|)
infixl
6
::
!(
Task
a
)
!(
a
->
(
Bool
,
HtmlCode
))
->
Task
a
|
iData
a
(<|)
taska
pred
=
mk
Task
"repeatTest"
doTask
(<|)
taska
pred
=
new
Task
"repeatTest"
doTask
where
doTask
=
taska
=>>
\
r
->
case
pred
r
of
(
True
,_)
->
return_V
r
(
False
,
msg
)
->
msg
?>>
doTask
// (False,msg) -> msg ?>> doTask
(
False
,
msg
)
->
msg
?>>
(
taska
<|
pred
)
// ******************************************************************************************************
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new 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