module Data.DOM.StyleSheetList (item, get'length, getm'length) where import Data.DOM.Stylesheets import Control.Monad import BrownPLT.JavaScript import Data.DOM.WBTypes import Data.DOM.Dom import Data.DOM.Document (createElement) item :: (Monad mn, CStyleSheetList this, CStyleSheet zz) => Expression Double -> Expression this -> mn (Expression zz) item a thisp = do let et = undefined :: zz let r = DotRef et (thisp /\ et) (Id et "item") return (CallExpr et r [a /\ et]) get'length :: (Monad mn, CStyleSheetList this) => Expression this -> mn (Expression Double) get'length thisp = do let et = undefined :: Double let r = DotRef et (thisp /\ et) (Id et "length") return r getm'length :: (Monad mn, CStyleSheetList this) => Expression this -> mn (Expression Double) getm'length = get'length