How to Install and Uninstall ghc-snap-core Package on openSUSE Leap

Last updated: December 27,2024

1. Install "ghc-snap-core" package

This guide let you learn how to install ghc-snap-core on openSUSE Leap

$ sudo zypper refresh $ sudo zypper install ghc-snap-core

2. Uninstall "ghc-snap-core" package

Please follow the guidance below to uninstall ghc-snap-core on openSUSE Leap:

$ sudo zypper remove ghc-snap-core

3. Information about the ghc-snap-core package on openSUSE Leap

Information for package ghc-snap-core:
--------------------------------------
Repository : Main Repository
Name : ghc-snap-core
Version : 1.0.4.2-bp155.2.14
Arch : x86_64
Vendor : openSUSE
Installed Size : 2.0 MiB
Installed : No
Status : not installed
Source package : ghc-snap-core-1.0.4.2-bp155.2.14.src
Upstream URL : https://hackage.haskell.org/package/snap-core
Summary : Snap: A Haskell Web Framework (core interfaces and types)
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 .
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. 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".

5. The same packages on other Linux Distributions