Summary
Snap is a simple and fast web development framework and server written in Haskell. For more information or to download the latest version, you can visit the Snap project website at <http://snapframework.com/>. This library contains the core definitions and types for the Snap framework, including: 1. Primitive types and functions for HTTP (requests, responses, cookies, post/query parameters, etc) 2. Type aliases and helper functions for Iteratee I/O 3. A monad for programming web handlers called \"Snap\", inspired by happstack's (<http://happstack.com/index.html>), which allows: * Stateful access to the HTTP request and response objects * Monadic failure (i.e. MonadPlus/Alternative instances) for declining to handle requests and chaining handlers together * Early termination of the computation if you know early what you want to return and want to prevent further monadic processing /Quick start/: The 'Snap' monad and HTTP definitions are in "Snap.Core", some iteratee utilities are in "Snap.Iteratee". Higher-level facilities for building web applications (like user/session management, component interfaces, data modeling, etc.) are planned but not yet implemented, so this release will mostly be of interest for those who: * need a fast and minimal HTTP API at roughly the same level of abstraction as Java servlets, or * are interested in contributing to the Snap Framework project.
Versions
v1.0.4.2 :: 0/1.0.4.2 :: gentoo
- Modified
- License
- BSD
- Keywords
- ~amd64 ~x86
- USE flags
- debug doc hscolour portable profile test
USE flags
General
- debug
- Enable extra debug codepaths, like asserts and extra output. If you want to get meaningful backtraces see https://wiki.gentoo.org/wiki/Project:Quality_Assurance/Backtraces
- doc
- Add extra documentation (API, Javadoc, etc). It is recommended to enable per package instead of globally
- hscolour
- Include coloured haskell sources to generated documentation (dev-haskell/hscolour)
- portable
- No non-haskell unportable code.
- profile
- Add support for software performance analysis (will likely vary from ebuild to ebuild)
- test
- Enable dependencies and/or preparations necessary to run tests (usually controlled by FEATURES=test but can be toggled independently)
Dependencies
dev-haskell / attoparsec : Fast combinator parsing for bytestrings and text
dev-haskell / bytestring-builder : The new bytestring builder, packaged outside of GHC
dev-haskell / cabal : A framework for packaging Haskell software
dev-haskell / case-insensitive : Case insensitive string comparison
dev-haskell / fail : Forward-compatible MonadFail class
dev-haskell / hashable : A class for types that can be converted to a hash value
dev-haskell / hscolour : Colourise Haskell code
dev-haskell / hunit : A unit testing framework for Haskell
dev-haskell / io-streams : Simple, composable, and easy-to-use stream I/O
dev-haskell / lifted-base : lifted IO operations from the base library
dev-haskell / monad-control : Lift control operations, like exception catching, through monad transformers
dev-haskell / mtl : Monad classes, using functional dependencies
dev-haskell / network : Low-level networking interface
dev-haskell / network-uri : URI manipulation
dev-haskell / old-locale : locale library
dev-haskell / parallel : Parallel programming library
dev-haskell / quickcheck : Automatic testing of Haskell programs
dev-haskell / random : random number library
dev-haskell / readable : Reading from Text and ByteString
dev-haskell / regex-posix : Replaces/Enhances Text.Regex
dev-haskell / semigroups : Anything that associates
dev-haskell / test-framework : Framework for running and organising tests, with HUnit and QuickCheck support
dev-haskell / test-framework-hunit : HUnit support for the test-framework package
dev-haskell / test-framework-quickcheck2 : QuickCheck2 support for the test-framework package
dev-haskell / text : An efficient packed Unicode text type
dev-haskell / time-locale-compat : Compatibility of TimeLocale between old-locale and time-1.5
dev-haskell / transformers-base : Lift computations from the bottom of a transformer stack
dev-haskell / unix-compat : Portable POSIX-compatibility layer
dev-haskell / unordered-containers : Efficient hashing-based container types
dev-haskell / vector : Efficient Arrays
dev-haskell / zlib : Compression and decompression in the gzip and zlib formats
Runtime Dependencies
dev-haskell / attoparsec : Fast combinator parsing for bytestrings and text
dev-haskell / bytestring-builder : The new bytestring builder, packaged outside of GHC
dev-haskell / case-insensitive : Case insensitive string comparison
dev-haskell / fail : Forward-compatible MonadFail class
dev-haskell / hashable : A class for types that can be converted to a hash value
dev-haskell / hunit : A unit testing framework for Haskell
dev-haskell / io-streams : Simple, composable, and easy-to-use stream I/O
dev-haskell / lifted-base : lifted IO operations from the base library
dev-haskell / monad-control : Lift control operations, like exception catching, through monad transformers
dev-haskell / mtl : Monad classes, using functional dependencies
dev-haskell / network : Low-level networking interface
dev-haskell / network-uri : URI manipulation
dev-haskell / old-locale : locale library
dev-haskell / random : random number library
dev-haskell / readable : Reading from Text and ByteString
dev-haskell / regex-posix : Replaces/Enhances Text.Regex
dev-haskell / semigroups : Anything that associates
dev-haskell / text : An efficient packed Unicode text type
dev-haskell / time-locale-compat : Compatibility of TimeLocale between old-locale and time-1.5
dev-haskell / transformers-base : Lift computations from the bottom of a transformer stack
dev-haskell / unix-compat : Portable POSIX-compatibility layer
dev-haskell / unordered-containers : Efficient hashing-based container types
dev-haskell / vector : Efficient Arrays
Depending packages
dev-haskell / ekg : Remote monitoring of processes
dev-haskell / http-streams : An HTTP client using io-streams
dev-haskell / snap-server : A fast, iteratee-based, epoll-enabled web server for the Snap Framework
dev-haskell / wreq : An easy-to-use HTTP client library
Change logs
- Repository mirror & CI · gentoo
Merge updates from master - Sergei Trofimovich · gentoo
dev-haskell/snap-core: drop old
Package-Manager: Portage-3.0.8, Repoman-3.0.2 Signed-off-by: Sergei Trofimovich <slyfox@gentoo.org> - Repository mirror & CI · gentoo
Merge updates from master - Jack Todaro · gentoo
dev-haskell/snap-core: remove old
Package-Manager: Portage-3.0.1, Repoman-2.3.23 Signed-off-by: Jack Todaro <solpeth@posteo.org> Signed-off-by: Sergei Trofimovich <slyfox@gentoo.org> - Jack Todaro · gentoo
dev-haskell/snap-core: bump up to 1.0.4.2
Package-Manager: Portage-3.0.1, Repoman-2.3.23 Signed-off-by: Jack Todaro <solpeth@posteo.org> Signed-off-by: Sergei Trofimovich <slyfox@gentoo.org> - Repository mirror & CI · gentoo
Merge updates from master - Sergei Trofimovich · gentoo
*/*: destabilize dev-lang/ghc for all arches
dev-lang/ghc is a fast-moving target without much of stable API across major GHC releases. This makes stabilization process a fragile process. The change moves all haskell revdeps to pure ~arch. There are not many outside dev-haskell/*: - app-emulation/ganeti - app-text/pandoc - dev-util/bustle - dev-util/shellcheck - dev-vcs/darcs - x11-wm/xmonad/xmonad Existing stable haskell users are recommended to keyword used packages and all of dev-haskell/* to ease upgrades. Signed-off-by: Sergei Trofimovich <slyfox@gentoo.org> - Repository mirror & CI · gentoo
Merge updates from master - Michał Górny · gentoo
*/*: Inline mirror://hackage and update URIs
This change inlines mirror://hackage in all ebuilds, and updates URIs to the modern form (old URIs redirect to that). The change has been made using the following command: find -name '*.ebuild' -exec sed -r -i \ -e 's@mirror://hackage/@https://hackage.haskell.org/@g' \ -e 's@https://hackage.haskell.org/packages/archive/([^/]*)/([^/]*)/@https://hackage.haskell.org/package/\1-\2/@g' \ -e '/hackage\.haskell\.org/s@\$\{PN}-\$\{PV}@${P}@g' \ -e '/hackage\.haskell\.org/s@\$\{MY_PN}-\$\{PV}@${MY_P}@g' \ -e '/hackage\.haskell\.org/s@\$\{PN}-\$\{MY_PV}@${MY_P}@g' \ {} + Signed-off-by: Michał Górny <mgorny@gentoo.org> - Sergei Trofimovich · gentoo
dev-haskell/snap-core: stable 1.0.1.0 for x86/amd64, bug #631138
Package-Manager: Portage-2.3.10, Repoman-2.3.3 RepoMan-Options: --include-arches="amd64 x86" - Sergei Trofimovich · gentoo
dev-haskell/snap-core: allow ghc-8, bug #611706
Reported-by: Zentoo Bug: https://bugs.gentoo.org/611706 Package-Manager: Portage-2.3.5, Repoman-2.3.2 - Robin H. Johnson · gentoo
Drop $Id$ per council decision in bug #611234.
Signed-off-by: Robin H. Johnson <robbat2@gentoo.org> - Sergei Trofimovich · gentoo
dev-haskell/snap-core: bump up to 1.0.1.0
Package-Manager: Portage-2.3.3, Repoman-2.3.1 - Sergei Trofimovich · gentoo
dev-haskell/snap-core: simplify ranged depend
Package-Manager: portage-2.2.28 - Sergei Trofimovich · gentoo
dev-haskell/snap-core: drop old
Package-Manager: portage-2.2.28 - Sergei Trofimovich · gentoo
dev-haskell/snap-core: amd64, x86 stable
Package-Manager: portage-2.2.27 - Ian Delaney · gentoo
Merge remote-tracking branch 'remotes/Coacher/mpv-verbump-to-0.15.0'
Pull request: https://github.com/gentoo/gentoo/pull/675 - Sergei Trofimovich · gentoo
dev-haskell/snap-core: bump up to 0.9.8.0
Package-Manager: portage-2.2.26 - Robin H. Johnson · gentoo
proj/gentoo: Initial commit
This commit represents a new era for Gentoo: Storing the gentoo-x86 tree in Git, as converted from CVS. This commit is the start of the NEW history. Any historical data is intended to be grafted onto this point. Creation process: 1. Take final CVS checkout snapshot 2. Remove ALL ChangeLog* files 3. Transform all Manifests to thin 4. Remove empty Manifests 5. Convert all stale $Header$/$Id$ CVS keywords to non-expanded Git $Id$ 5.1. Do not touch files with -kb/-ko keyword flags. Signed-off-by: Robin H. Johnson <robbat2@gentoo.org> X-Thanks: Alec Warner <antarus@gentoo.org> - did the GSoC 2006 migration tests X-Thanks: Robin H. Johnson <robbat2@gentoo.org> - infra guy, herding this project X-Thanks: Nguyen Thai Ngoc Duy <pclouds@gentoo.org> - Former Gentoo developer, wrote Git features for the migration X-Thanks: Brian Harring <ferringb@gentoo.org> - wrote much python to improve cvs2svn X-Thanks: Rich Freeman <rich0@gentoo.org> - validation scripts X-Thanks: Patrick Lauer <patrick@gentoo.org> - Gentoo dev, running new 2014 work in migration X-Thanks: Michał Górny <mgorny@gentoo.org> - scripts, QA, nagging X-Thanks: All of other Gentoo developers - many ideas and lots of paint on the bikeshed