www/hs-snap-core 1.0.5.1nb2 NetBSD
Snap: A Haskell Web Framework (core interfaces and types)
- System
- NetBSD
- Repository
- pkgsrc
- Maintainer
- [email protected]
- License
- modified-bsd
- Categories
- www
- Package size
- 1574.6 KiB, 21232.2 KiB installed
Description
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:
- Primitive types and functions for HTTP (requests, responses, cookies, post/query parameters, etc):
- A monad for programming web handlers called "Snap", 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.
Install
Binary package:
pkgin install hs-snap-core
From pkgsrc:
cd /usr/pkgsrc/www/hs-snap-core && make install clean
Packages
The version each package repository carries. “-” means the repository builds no package of it, “n/a” that there is no such repository.
| Repository | Version |
|---|---|
| NetBSD 10.1 x86_64 | 1.0.5.1nb2 |
| NetBSD 10.1 aarch64 | 1.0.5.1nb2 |
| SmartOS / illumos x86_64 | 1.0.5.1nb2 |
| macOS 15 arm64 | 1.0.5.1nb2 |
Dependencies
Run dependencies 19
- devel/hs-HUnit
- devel/hs-bytestring-builder
- devel/hs-hashable
- devel/hs-io-streams
- devel/hs-lifted-base
- devel/hs-monad-control
- devel/hs-old-locale
- devel/hs-random
- devel/hs-readable
- devel/hs-transformers-base
- devel/hs-unix-compat
- devel/hs-unordered-containers
- devel/hs-vector
- lang/ghc98
- net/hs-network
- net/hs-network-uri
- textproc/hs-attoparsec
- textproc/hs-case-insensitive
- textproc/hs-regex-posix