Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- instance FromJSVal Int where
- fromJSValUnchecked = fromJSValUnchecked_pure
- {-# INLINE fromJSValUnchecked #-}
- fromJSVal = fromJSVal_pure
- fromJSVal_pure :: PFromJSVal a => JSVal -> IO (Maybe a)
- fromJSVal_pure x = return (Just (pFromJSVal x))
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement