-
Notifications
You must be signed in to change notification settings - Fork 0
item function should return a Maybe #3
Copy link
Copy link
Open
Description
Is there a reason that the item function does not return Maybe DOMRect?
| foreign import item :: DOMRectList -> Int -> DOMRect |
As far as I can tell, the javascript is just a regular indexing into a collection, which may or may not return null, which should definitely be represented in the type system.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels