Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Add mkObj to primitives

  • Loading branch information...
commit dbdc7dfba4867ac7dc7fb15912d543a2e918dc81 1 parent 5c8314d
@norm2782 norm2782 authored
Showing with 3 additions and 0 deletions.
  1. +3 −0  uhc-jscript/src/Language/UHC/JScript/Primitives.hs
View
3  uhc-jscript/src/Language/UHC/JScript/Primitives.hs
@@ -94,3 +94,6 @@ foreign import prim "primClone"
foreign import prim "primToPlainObj"
primToPlainObj :: JSPtr a -> JSPtr b
+foreign import jscript "{}"
+ mkObj :: a -> IO (JSPtr b)
+
Please sign in to comment.
Something went wrong with that request. Please try again.