Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
Menu
Open sidebar
Glasgow Haskell Compiler
Packages
dph
Commits
af033b53
Commit
af033b53
authored
May 02, 2007
by
rl@cse.unsw.edu.au
Browse files
Correct type of arrowIso
parent
9e9ab2ca
Changes
1
Hide whitespace changes
Inline
Side-by-side
Data/Array/Parallel/Base/Closure.hs
View file @
af033b53
...
...
@@ -43,7 +43,9 @@ fromClosure :: a :<->: a' -> b :<->: b' -> (a' :-> b') -> (a -> b)
{-# INLINE fromClosure #-}
fromClosure
isoa
isob
(
f
:$
e
)
=
from
isob
.
f
e
.
to
isoa
arrowIso
::
a
:<->:
a'
->
b
:<->:
b'
->
(
a
->
b
)
:<->:
(
a'
:->
b'
)
arrowIso
::
forall
a
a'
.
a
:<->:
a'
->
forall
b
b'
.
b
:<->:
b'
->
(
a
->
b
)
:<->:
(
a'
:->
b'
)
{-# INLINE arrowIso #-}
arrowIso
isoa
isob
=
toClosure
isoa
isob
:<->:
fromClosure
isoa
isob
Write
Preview
Supports
Markdown
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