Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
P
prime
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Iterations
Wiki
Requirements
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Locked files
Deploy
Releases
Model registry
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
Repository analytics
Code review analytics
Issue analytics
Insights
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Haskell
prime
Commits
15bff260
Commit
15bff260
authored
14 years ago
by
Simon Marlow
Browse files
Options
Downloads
Patches
Plain Diff
clarify that marshallable foreign result types can be synonyms
parent
8a29a8a0
No related branches found
Branches containing commit
No related tags found
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
report/ffi.verb
+3
-2
3 additions, 2 deletions
report/ffi.verb
with
3 additions
and
2 deletions
report/ffi.verb
+
3
−
2
View file @
15bff260
...
...
@@ -426,7 +426,7 @@ The argument types \(\textit{at}_i\) produced by "fatype" must be
\begin{itemize}
\item a basic foreign type,
\item a type synonym o
f
a marshallable foreign type,
\item a type synonym
that expands t
o a marshallable foreign type,
\item a type "T t'_1 ... t'_n" where "T" is defined by a @newtype@ declaration
...
...
@@ -455,9 +455,10 @@ The result type \textit{rt} produced by "frtype" must be a
\emph{marshallable foreign result type;} that is, either
\begin{itemize}
\item a marshallable foreign type,
\item the type @()@,
\item a type matching @Prelude.IO @$t$, where $t$ is a marshallable foreign type or @()@,
\item a basic foreign type,
\item a type synonym that expands to marshallable foreign result type,
\item a type "T t'_1 ... t'_n" where "T" is defined by a @newtype@ declaration
\begin{quote}
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
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!
Save comment
Cancel
Please
register
or
sign in
to comment