Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit 7f850dc

Browse files
jamesdbrockJordanMartinez
andauthored
Revert "FFI.md typo (#388)" (#389)
* Revert "FFI.md typo (#388)" This reverts commit 878390c. * Use 'has kind' phrasing Co-authored-by: JordanMartinez <jordanalex.martinez@protonmail.com>
1 parent 94b8745 commit 7f850dc

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

‎guides/FFI.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -201,7 +201,7 @@ The `Data.Foreign` module (available in the `purescript-foreign` package) define
201201

202202
It is often useful when wrapping Javascript APIs to create new types at a specific kind for use with the FFI.
203203

204-
For example, suppose we have a Javascript library `frob` which defines the `Frob` data structure and associated functions. To give meaningful types to those functions, it might be useful to define a type `Frob` as kind `Type`. We can do this as follows:
204+
For example, suppose we have a Javascript library `frob` which defines the `Frob` data structure and associated functions. To give meaningful types to those functions, it might be useful to define a type, `Frob`, that has kind `Type`. We can do this as follows:
205205

206206
``` haskell
207207
foreign import data Frob :: Type

0 commit comments

Comments
(0)

AltStyle によって変換されたページ (->オリジナル) /