From bc9e5b0ea863a17537987faa5a72b00efc7767d1 Mon Sep 17 00:00:00 2001 From: Ben Sima Date: Mon, 18 Jul 2022 22:09:58 -0400 Subject: Upgrade nixpkgs, ghc923 I ended up deleting miso, and consequently all files under Hero/ and Miso/, because I couldn't get miso to build with GHC 9.2. Other things: - Niv has been wrapped by Biz/Bild/Deps.hs, so I can extend it to my liking. - Apply-refact is gone because I couldn't get it to build. - Disabled python stuff. --- Miso/FFI/Audio.hs | 21 --------------------- 1 file changed, 21 deletions(-) delete mode 100644 Miso/FFI/Audio.hs (limited to 'Miso/FFI/Audio.hs') diff --git a/Miso/FFI/Audio.hs b/Miso/FFI/Audio.hs deleted file mode 100644 index b34960b..0000000 --- a/Miso/FFI/Audio.hs +++ /dev/null @@ -1,21 +0,0 @@ -{-# LANGUAGE NoImplicitPrelude #-} - -module Miso.FFI.Audio where - -import GHCJS.Types -import Protolude - -{- -Usage: - -obj <- Miso.FFI.Document.getElementById "myAudioPlayer" -play obj -pause obj - --} - -foreign import javascript unsafe "$1.play();" - play :: JSVal -> IO () - -foreign import javascript unsafe "$1.pause();" - pause :: JSVal -> IO () -- cgit v1.2.3