Yes, you can call Javascript libraries from ghcjs compiled by Haskell.
Here is a simple example:
{-
{-
import qualified Data.JSString as T
import qualified GHCJS.Foreign
foreign import javascript unsafe "alert($1)" alert :: T.JSString -> IO ()
main = alert "hello world"
As you can see from this example, you use a function foreign import javascriptto make JS functions available in your Haskell programs.
, WebGL, , - , . . foreign , .
three.js github repo:
https://github.com/manyoo/ghcjs-three
Haskell JS, .. SO:
Haskell Javascript GHCJS