BSD Ports

devel/hs-base-compat 0.14.1nb3 NetBSD

Compatibility layer for base

System
NetBSD
Repository
pkgsrc
Maintainer
[email protected]
License
mit
Categories
devel
Package size
279.0 KiB, 5528.3 KiB installed

Description

Provides functions available in later versions of base to a wider range of compilers, without requiring you to use CPP pragmas in your code. See the README for what is covered. Also see the changelog for recent changes.

Note that base-compat does not add any orphan instances. There is a separate package, base-orphans, for that.

In addition, base-compat does not backport any data types or type classes. See this section of the README for more info.

base-compat is designed to have zero dependencies. For a version of base-compat that depends on compatibility libraries for a wider support window, see the base-compat-batteries package. Most of the modules in this library have the same names as in base-compat-batteries to make it easier to switch between the two. There also exist versions of each module with the suffix .Repl, which are distinct from anything in base-compat-batteries, to allow for easier use in GHCi.

Install

Binary package:

pkgin install hs-base-compat

From pkgsrc:

cd /usr/pkgsrc/devel/hs-base-compat && 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.

RepositoryVersion
NetBSD 10.1 x86_640.14.1nb3
NetBSD 10.1 aarch640.14.1nb3
SmartOS / illumos x86_640.14.1nb3
macOS 15 arm640.14.1nb3

Dependencies

Run dependencies 1