An open API service providing package, version and dependency metadata of many open source software ecosystems and registries.

safe

A library wrapping Prelude/Data.List functions that can throw exceptions, such as head and !!. Each unsafe function has up to four variants, e.g. with tail: tail :: [a] -> [a], raises an error on tail []. tailMay :: [a] -> Maybe [a], turns errors into Nothing. tailDef :: [a] -> [a] -> [a], takes a default to return on errors. tailNote :: String -> [a] -> [a], takes an extra argument which supplements the error message. tailSafe :: [a] -> [a], returns some sensible default if possible, [] in the case of tail. This package is divided into three modules: Safe contains safe variants of Prelude and Data.List functions. Safe.Foldable contains safe variants of Foldable functions. Safe.Exact creates crashing versions of functions like zip (errors if the lists are not equal) and take (errors if there are not enough elements), then wraps them to provide safe variants.

Ecosystem
hackage.haskell.org
Latest Release
0.3.21
about 2 years ago
Versions
23
Downloads
214,760 total
Dependent Packages
111
Dependent Repos
1,812
monad-bayes 1.3.0
A library for probabilistic programming using probability monads. The emphasis is on composition ...
12 versions - Latest release: about 2 years ago - 2 dependent packages - 5 dependent repositories - 1.98 thousand downloads total - 439 stars on GitHub - 2 maintainers
data-svd 0.1.2.0
Parse, print, diff SVD files
3 versions - Latest release: about 2 years ago - 2 dependent packages - 237 downloads total - 0 stars on GitHub - 1 maintainer
Top 4.9% on hackage.haskell.org
purescript 0.15.15
A small strongly, statically typed programming language with expressive types, inspired by Haskel...
205 versions - Latest release: about 2 years ago - 3 dependent packages - 38 dependent repositories - 198 thousand downloads total - 8 maintainers
espial 0.0.20
Espial is an open-source, web-based bookmarking server. - Yesod + PureScript + sqlite3 - multi-us...
13 versions - Latest release: about 2 years ago - 1 dependent package - 1 dependent repositories - 4.26 thousand downloads total - 714 stars on GitHub - 1 maintainer
servant-pagination 2.5.1
This module offers opinionated helpers to declare a type-safe and a flexible pagination mecanism ...
15 versions - Latest release: over 2 years ago - 1 dependent package - 2 dependent repositories - 6.67 thousand downloads total - 25 stars on GitHub - 3 maintainers
mig 0.2.1.0
The Core for the mig server library. With library mig we can build lightweight and composable ser...
7 versions - Latest release: over 2 years ago - 5 dependent packages - 1 dependent repositories - 467 downloads total - 67 stars on GitHub - 1 maintainer
finite-semigroups 0.1.0.0
operations and classification for finite semigroups
1 version - Latest release: over 2 years ago - 1 dependent package - 1 dependent repositories - 86 downloads total - 0 stars on GitHub - 1 maintainer
keycloak-hs 3.0.2
Please see the README on GitHub at https://github.com/cdupont/keycloak-hs#readme
21 versions - Latest release: over 2 years ago - 1 dependent package - 2 dependent repositories - 7.24 thousand downloads total - 14 stars on GitHub - 1 maintainer
keystore 0.9.0.2 💰
storing secret things
30 versions - Latest release: over 2 years ago - 1 dependent package - 20 thousand downloads total - 12 stars on GitHub - 1 maintainer
systemd-ntfy 0.1.0
1 version - Latest release: over 2 years ago - 103 downloads total - 1 maintainer
Top 8.1% on hackage.haskell.org
BlogLiterately-diagrams 0.3.1
A plugin for BlogLiterately (http://hackage.haskell.org/package/BlogLiterately) which turns inlin...
26 versions - Latest release: over 2 years ago - 1 dependent package - 68 dependent repositories - 21.9 thousand downloads total - 1 maintainer
eventstore 1.4.3
EventStore TCP Client https://eventstore.com
66 versions - Latest release: over 2 years ago - 27 dependent repositories - 43.9 thousand downloads total - 4 stars on GitHub - 1 maintainer
intricacy 0.8.2
A lockpicking-themed turn-based puzzle game on a hex grid. A series of preset puzzles serves as a...
30 versions - Latest release: over 2 years ago - 14.5 thousand downloads total - 1 maintainer
sandwich-slack 0.1.2.0
Yet another test framework for Haskell.
7 versions - Latest release: almost 3 years ago - 1 dependent package - 6 dependent repositories - 1.25 thousand downloads total - 69 stars on GitHub - 1 maintainer
instana-haskell-trace-sdk 0.10.2.0
Please also see the README on Github at https://github.com/instana/haskell-trace-sdk#readme
16 versions - Latest release: almost 3 years ago - 1 dependent package - 1 dependent repositories - 3.28 thousand downloads total - 2 maintainers
zephyr 0.5.3
Tree shaking tool and partial evaluator for PureScript CoreFn AST.
7 versions - Latest release: almost 3 years ago - 1 dependent package - 2 dependent repositories - 2.77 thousand downloads total - 157 stars on GitHub - 2 maintainers
Top 5.5% on hackage.haskell.org
jmacro 0.6.18
35 versions - Latest release: about 3 years ago - 3 dependent packages - 121 dependent repositories - 36.2 thousand downloads total - 2 maintainers
Top 6.5% on hackage.haskell.org
citeproc 0.8.1
citeproc parses CSL style files and uses them to generate a list of formatted citations and bibli...
38 versions - Latest release: about 3 years ago - 3 dependent packages - 47 dependent repositories - 28.9 thousand downloads total - 1 maintainer
hmt 0.20
Haskell library for Music Theory
10 versions - Latest release: over 3 years ago - 1 dependent package - 11 dependent repositories - 8.37 thousand downloads total - 1 maintainer
hmt-base 0.20
Haskell music theory Base Library
1 version - Latest release: over 3 years ago - 1 dependent package - 10 dependent repositories - 152 downloads total - 1 maintainer
inferno-lsp 0.1.0
A statically-typed functional scripting language
1 version - Latest release: over 3 years ago - 1 dependent repositories - 128 downloads total - 4 stars on GitHub - 1 maintainer
indieweb-algorithms 0.1.1
[Last Documentation] Package maintainers For package maintainers and hackage trustees Candid...
2 versions - Latest release: over 3 years ago - 969 downloads total - 1 stars on codeberg.org - 1 maintainer
too-many-cells 3.0.1.0
Cluster single cells and analyze cell clade relationships with colorful visualizations.
29 versions - Latest release: over 3 years ago - 1 dependent package - 1 dependent repositories - 11.5 thousand downloads total - 115 stars on GitHub - 1 maintainer
birch-beer 0.4.2.1
Generate a tree for displaying a hierarchy of groups with colors, scaling, and more.
25 versions - Latest release: over 3 years ago - 2 dependent packages - 1 dependent repositories - 10.7 thousand downloads total - 6 stars on GitHub - 1 maintainer
uniform-strings 0.1.3
Reduce complexity of Haskell by providing a set of uniformly named conversion functions between ...
5 versions - Latest release: over 3 years ago - 5 dependent packages - 1 dependent repositories - 699 downloads total - 1 stars on GitHub - 1 maintainer
uniform-error 0.1.3
A minimal package to handle errors and exception in a simple but flexible way. Includes functions...
5 versions - Latest release: over 3 years ago - 3 dependent packages - 1 dependent repositories - 600 downloads total - 0 stars on GitHub - 1 maintainer
uniform-fileio 0.1.3
Uniform operations for handling files and file path names independent from the representation. A...
5 versions - Latest release: over 3 years ago - 2 dependent packages - 491 downloads total - 1 maintainer
htalkat 0.1.2
Server and curses client for the "talkat" (Talk Across TLS) real-time text communication protocol.
8 versions - Latest release: almost 4 years ago - 737 downloads total - 1 maintainer
Top 1.6% on hackage.haskell.org
yesod-auth 1.6.11
API docs and the README are available at http://www.stackage.org/package/yesod-auth
155 versions - Latest release: about 4 years ago - 6 dependent packages - 919 dependent repositories - 156 thousand downloads total - 6 maintainers
Top 4.5% on hackage.haskell.org
ghcide 1.5.0 💰
A library for building Haskell IDE's on top of the GHC API.
59 versions - Latest release: over 4 years ago - 38 dependent packages - 15 dependent repositories - 25.9 thousand downloads total - 2,849 stars on GitHub - 8 maintainers
Top 9.3% on hackage.haskell.org
doclayout 0.3.1 💰
doclayout is a prettyprinting library for laying out text documents, with several features not pr...
12 versions - Latest release: over 4 years ago - 10 dependent packages - 42 dependent repositories - 25.5 thousand downloads total - 22 stars on GitHub - 1 maintainer
Top 5.3% on hackage.haskell.org
jose 0.8.5
Implementation of JSON Object Signing and Encryption (JOSE) and JSON Web Token (JWT; RFC 7519). ...
41 versions - Latest release: over 4 years ago - 11 dependent packages - 80 dependent repositories - 37.7 thousand downloads total - 129 stars on GitHub - 1 maintainer
hsc3 0.19.1
Library for communicating with the SuperCollider synthesiser
23 versions - Latest release: almost 5 years ago - 1 dependent package - 25 dependent repositories - 16.3 thousand downloads total - 2 maintainers
fadno 1.1.8
Polymorphic music library with export to musicxml and midi
9 versions - Latest release: about 5 years ago - 1 dependent repositories - 2.25 thousand downloads total - 16 stars on GitHub - 1 maintainer
Top 6.3% on hackage.haskell.org
doctemplates 0.8.3 💰
This is the text templating system used by pandoc. It supports variable interpolation, iteration,...
26 versions - Latest release: over 5 years ago - 6 dependent packages - 77 dependent repositories - 58.7 thousand downloads total - 50 stars on GitHub - 1 maintainer
gitit 0.12.3
Gitit is a wiki backed by a git, darcs, or mercurial filestore. Pages and uploaded files can be ...
83 versions - Latest release: over 7 years ago - 1 dependent package - 4 dependent repositories - 72 thousand downloads total - 1 maintainer
Top 6.4% on hackage.haskell.org
language-c-quote 0.12.2
55 versions - Latest release: almost 8 years ago - 2 dependent packages - 135 dependent repositories - 53.5 thousand downloads total - 59 stars on GitHub - 2 maintainers
microformats2-parser 1.0.1
A parser for Microformats 2 (http:/microformats.orgwiki/microformats2), a simple way to describe ...
17 versions - Latest release: over 10 years ago - 2 dependent packages - 17 dependent repositories - 9.32 thousand downloads total - 1 stars on codeberg.org - 1 maintainer
Top 6.2% on hackage.haskell.org
stack 9.9.9
Stack (the Haskell Tool Stack) is a program for developing Haskell projects. It is aimed at new a...
67 versions - Latest release: over 10 years ago - 2 dependent packages - 33 dependent repositories - 61.7 thousand downloads total - 8 maintainers
shelltestrunner 1.3.5 💰
shelltestrunner (executable: shelltest) is a portable command-line tool for testing command-line ...
23 versions - Latest release: almost 11 years ago - 85 dependent repositories - 22.2 thousand downloads total - 146 stars on GitHub - 2 maintainers
api-tools 0.5.2
A Haskell embedded DSL for generating an API's JSON wrappers and documentation.
14 versions - Latest release: over 11 years ago - 2 dependent packages - 1 dependent repositories - 9.09 thousand downloads total - 34 stars on GitHub - 2 maintainers
snap-extras 0.2.2
This package contains a collection of helper functions that come in handy in most practical, real...
18 versions - Latest release: over 13 years ago - 1 dependent package - 30 dependent repositories - 13.6 thousand downloads total - 3 maintainers
Past Dependents
Include Past Dependents

Check this option to include packages that no longer depend on this package in their latest version but previously did.

Filter
Links
Registry hackage.haskell.org
Source Repository
Homepage Homepage
JSON API View JSON
CodeMeta codemeta.json
Package Details
PURL pkg:hackage/safe
spec
License BSD-3-Clause
First Release almost 18 years ago
Last Synced 11 days ago
Repository
Stars 45 on GitHub
Forks 11 on GitHub
Docker Dependents 2
Docker Downloads 89
Commits 204
Committers 14
Avg per Author 14.571
DDS 0.103
Rankings on hackage.haskell.org
Overall Top 4.2%
Downloads Top 0.5%
Dependent packages Top 0.3%
Dependent repos Top 0.3%
Docker downloads Top 1.3%