Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
What's new
10
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Open sidebar
clean-and-itasks
clean-libraries
Commits
3dbd4d52
Commit
3dbd4d52
authored
Aug 15, 2018
by
John van Groningen
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
remove use of function accMaybe (accMaybe will be removed from module StdMaybe)
parent
22c4bd68
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
4 deletions
+4
-4
Libraries/ObjectIO/ObjectIO/StdWindow.icl
Libraries/ObjectIO/ObjectIO/StdWindow.icl
+4
-4
No files found.
Libraries/ObjectIO/ObjectIO/StdWindow.icl
View file @
3dbd4d52
...
...
@@ -1455,9 +1455,9 @@ where
getwindowscrollfunction
::
!
Direction
!(
WindowStateHandle
.
pst
)
->
*(!
Maybe
ScrollFunction
,!
WindowStateHandle
.
pst
)
getwindowscrollfunction
direction
wsH
=:{
wshHandle
=
Just
{
wlsHandle
=
wH
=:{
whWindowInfo
}}}
|
direction
==
Horizontal
&&
isJust
hScroll
=
(
fst
(
acc
Maybe
getScrollFun
hScroll
)
,
wsH
)
=
(
map
Maybe
getScrollFun
hScroll
,
wsH
)
|
direction
==
Vertical
&&
isJust
vScroll
=
(
fst
(
acc
Maybe
getScrollFun
vScroll
)
,
wsH
)
=
(
map
Maybe
getScrollFun
vScroll
,
wsH
)
|
otherwise
=
(
Nothing
,
wsH
)
where
...
...
@@ -1465,9 +1465,9 @@ where
hScroll
=
windowInfo
.
windowHScroll
vScroll
=
windowInfo
.
windowVScroll
getScrollFun
::
!
ScrollInfo
->
*(!
ScrollFunction
,!
ScrollInfo
)
getScrollFun
::
!
ScrollInfo
->
ScrollFunction
getScrollFun
info
=:{
scrollFunction
}
=
(
scrollFunction
,
info
)
=
scrollFunction
getwindowscrollfunction
_
_
=
stdWindowFatalError
"getWindowScrollFunction"
"unexpected window placeholder argument"
...
...
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