hsass-0.8.0: Integrating Sass into Haskell applications.

Safe HaskellNone
LanguageHaskell2010

Text.Sass.Options.Internal

Description

Copying SassOptions into native context. This module is internal and should not be considered stable.

Synopsis

Documentation

copyOptionsToNative :: SassOptions -> Ptr SassOptions -> IO () Source #

Copies SassOptions to native object, excluding sassFunctions.

withFunctions Source #

Arguments

:: SassOptions

Options.

-> Ptr SassOptions

Native options.

-> IO a

Action.

-> IO a

Result

Copies sassFunctions to native object, executes action, clears leftovers (see documentation of makeNativeFunction) and returns action result.