Name: freesect Version: 0.8 Synopsis: A Haskell syntax extension for generalised sections Description: This package provides a preprocessor executable, \'freesect\', which implements a broad generalisation of sections (dubbed \'free sections\') for partial application and higher-order style. Some examples of free sections can be found in the included test suite; refer to the homepage for more info. Homepage: http://fremissant.net/freesect License: BSD3 License-file: LICENSE Author: Andrew Seniuk Maintainer: Andrew Seniuk Stability: Experimental Category: Language Build-type: Simple Cabal-version: >= 1.2 Extra-source-files: -- You might not make use of these ones: 000-readme, Makefile, cln, freesect.sh, ile, z, zpack, -- These are example modules containing free sections for testing: S14.hs, S15.hs, S23.hs, S24.hs, S25.hs, S26.hs, S27.hs, -- Snapshot of documentation; visit the homepage for up-to-date versions: Doc/index.html, Doc/irc.html, Doc/primitives.html, -- The rest are critical for building freesect: FreeSect.hs, FreeSectAnnotated.hs, FilesAndParsing.hs, Util.hs, -- Since HSE is not yet patched to include -XFreeSections, we need -- to build a patched version locally, hence these dependencies: HSE/InternalParser.ly, HSE.hs, HSE/Annotated.hs, HSE/Annotated/Build.hs, HSE/Annotated/ExactPrint.hs, HSE/Annotated/Fixity.hs, HSE/Annotated/Simplify.hs, HSE/Annotated/Syntax.hs, HSE/Build.hs, HSE/Comments.hs, HSE/ExtScheme.hs, HSE/Extension.hs, HSE/Fixity.hs, HSE/InternalParser.hs, HSE/Lexer.hs, HSE/ParseMonad.hs, HSE/ParseSyntax.hs, HSE/ParseUtils.hs, HSE/Parser.hs, HSE/Pretty.hs, HSE/SrcLoc.hs, HSE/Syntax.hs Executable freesect Main-Is: Main.hs Build-depends: base >= 4.0 && < 4.6 , directory >= 1.0 , random >= 1.0 , -- Control.Monad.State: mtl >= 1.0 , -- syn >= 0.1 should suffice judging by the API but this is not tested... syb >= 0.1 , -- Recommended but not actually needed if the CPP #define PARALLEL is 0. -- The parallel package has changed several times in a compatability-breaking -- manner. You need >= 3.0 for runEvaal and parTraversable. parallel >= 3.0 , -- haskell-src-exts >= 1.11.1 , -- Since HSE is not yet patched to include -XFreeSections, we need -- to build a patched version locally, hence these dependencies: cpphs >= 1.3 , pretty >= 1.0 , array >= 0.1 extensions: FlexibleContexts, CPP -- It seems that it is not necessary to declare -XDeriveDataTypeable (or -- to use the corresponding LANGUAGE pragma)? True even for GHC 6.12.4. --extensions: DeriveDataTypeable, FlexibleContexts, CPP -- (The happy output is provided in the distro.) Build-tools: --Build-Tools: happy >= 1.17 ghc-options: -O0 -rtsopts -threaded -fno-warn-overlapping-patterns cpp-options: -DANNOTATED=0 -DPARALLEL=0 -DGHC_F=1 -DDEBUG=1 -DCLEAN_EXTRANEOUS_GROUPINGS=0