Permalink
Browse files

Rename mkObj to newObj

  • Loading branch information...
1 parent d07205e commit 27e6b5d67f6f770a97bd43e02f8c80476b8282a9 @norm2782 norm2782 committed with spockz Nov 13, 2011
Showing with 3 additions and 3 deletions.
  1. +3 −3 uhc-jscript/src/Language/UHC/JScript/Primitives.hs
@@ -14,11 +14,11 @@ foreign import prim "primMkAnonObj"
mkAnonObj :: IO AnonObj
-mkObj :: String -> IO (JSPtr p)
-mkObj = _mkObj . toJS
+newObj :: String -> IO (JSPtr p)
+newObj = _newObj . toJS
foreign import prim "primMkObj"
- _mkObj :: JSString -> IO (JSPtr p)
+ _newObj :: JSString -> IO (JSPtr p)
mkCtor :: String -> IO (JSFunPtr a)
mkCtor = _mkCtor . toJS

0 comments on commit 27e6b5d

Please sign in to comment.