MIT licensed and maintained by Neil Mitchell
This version can be pinned in stack with:js-dgtable-0.5.2@sha256:f75cb4fa53c88c65794becdd48eb0d3b2b8abd89a3d5c19e87af91f5225c15e4,1703

Module documentation for 0.5.2

Depends on 1 package(full list with versions):
Used by 2 packages in lts-21.25(full list with versions):

js-dgtable Hackage version Stackage version Build Status

This package bundles the minified jquery.dgtable code into a Haskell package, so it can be depended upon by Cabal packages. The first three components of the version number match the upstream jQuery version. The package is designed to meet the redistribution requirements of downstream users (e.g. Debian). As an example:

import qualified Language.Javascript.DGTable as DGTable

main = do
    putStrLn $ "jquery.dgtable version " ++ show DGTable.version ++ " source:"
    putStrLn =<< readFile =<< DGTable.file

This package installs data files containing the jquery.dgtable sources, which must be available at runtime. If you want to produce an executable with no dependency on associated data files, you can use the file-embed library:

{-# LANGUAGE TemplateHaskell #-}

import Data.FileEmbed
import qualified Data.ByteString as BS
import qualified Language.Javascript.DGTable as DGTable
import Language.Haskell.TH.Syntax

main = print dgTableContents

dgTableContents :: BS.ByteString
dgTableContents = $(embedFile =<< runIO DGTable.file)

Changes

Changelog for js-jquery

0.5.2, released 2019-03-15
Initial version