-
Notifications
You must be signed in to change notification settings - Fork 34
Update to PureScript v0.15.0 #59
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Update to PureScript v0.15.0 #59
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks good, but it seems we're missing a changelog entry.
CI is failing due to unused imports. |
src/Node/FS/Async.purs
Outdated
foreign import open_ :: Fn4 FilePath String (Nullable FileMode) (JSCallback FileDescriptor) Unit | ||
foreign import read_ :: Fn6 FileDescriptor Buffer BufferOffset BufferLength (Nullable FilePosition) (JSCallback ByteCount) Unit | ||
foreign import write_ :: Fn6 FileDescriptor Buffer BufferOffset BufferLength (Nullable FilePosition) (JSCallback ByteCount) Unit | ||
foreign import close_ :: Fn2 FileDescriptor (JSCallback Unit) Unit |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
We can keep this as-is, but typically we'd name this
foreign import closeImpl :: ...
where *Impl
denotes an FFI implementation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Admittedly, this library already diverged from our typical best practices with this big fs
record 😆
Description of the change
Backlinking to purescript/purescript#4244
Migrates FFI to ES modules
Checklist: