Skip to content

Commit

Permalink
Use callback module from base for js backend
Browse files Browse the repository at this point in the history
  • Loading branch information
hamishmack committed Feb 5, 2024
1 parent 561d208 commit 16e675a
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions jsaddle/src/Language/Javascript/JSaddle/Object.hs
Original file line number Diff line number Diff line change
Expand Up @@ -102,7 +102,11 @@ import Prelude hiding ((!!))
import Data.Coerce (coerce)
#ifdef ghcjs_HOST_OS
import GHCJS.Types (nullRef)
#if __GLASGOW_HASKELL__ >= 900
import GHC.JS.Foreign.Callback
#else
import GHCJS.Foreign.Callback
#endif
(releaseCallback, syncCallback2, asyncCallback2, OnBlocked(..), Callback)
import GHCJS.Marshal (ToJSVal(..))
import JavaScript.Array (MutableJSArray)
Expand Down

0 comments on commit 16e675a

Please sign in to comment.