@@ -329,14 +329,6 @@ module Prelude where
329 zshr = numZshr
329 zshr = numZshr
330 complement = numComplement
330 complement = numComplement
334− foreign import (!!) "function $bang$bang(xs) {\
335− \ return function(n) {\
338− \}" :: forall a. [a] -> Number -> a
340 infixr 2 ||
332 infixr 2 ||
341 infixr 3 &&
333 infixr 3 &&
@@ -396,6 +388,15 @@ module Data.Eq where
396 instance eqRef :: Eq (Ref a) where
388 instance eqRef :: Eq (Ref a) where
397 (==) = liftRef refEq
389 (==) = liftRef refEq
398 (/=) = liftRef refIneq
390 (/=) = liftRef refIneq
392+module Prelude.Unsafe where
394+ foreign import unsafeIndex
395+ "function unsafeIndex(xs) {\
396+ \ return function(n) {\
399+ \}" :: forall a. [a] -> Number -> a
400module Control.Monad.Eff where
401module Control.Monad.Eff where