Ecosyste.ms: Funds

An open API service for providing issue and pull request metadata for open source projects.

https://github.com/ndmitchell/safe

Last synced: about 2 hours ago

Repository metadata:

Haskell library for safe (pattern match free) functions


Owner metadata:


Committers metadata

Last synced: about 6 hours ago

Total Commits: 217
Total Committers: 14
Avg Commits per committer: 15.5
Development Distribution Score (DDS): 0.097

Commits in past year: 7
Committers in past year: 1
Avg Commits per committer in past year: 7.0
Development Distribution Score (DDS) in past year: 0.0

Name Email Commits
Neil Mitchell n****l@g****m 196
Daniel Mendler m****l@d****e 4
Tebello Thejane z****s@g****m 4
TAKAHASHI Yuto y****v@g****m 2
rbasso r****o@s****t 2
Adam Bergmark a****m@b****l 1
Andrés Sicard-Ramírez a****r@e****o 1
Ben Boeckel m****f@g****m 1
Christopher League l****e@c****t 1
Daniel Schüssler d****s@c****g 1
William Yao w****h@g****m 1
Yuval Langer y****r@g****m 1
jxv j****s@h****m 1
Felix Yan f****s@a****g 1

Issue and Pull Request metadata

Last synced: about 2 hours ago


Package metadata

hackage: 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.

  • Homepage: https://github.com/ndmitchell/safe#readme
  • Licenses: BSD-3-Clause
  • Latest release: 0.3.21 (published 10 months ago)
  • Last Synced: 2024-11-09T02:03:51.948Z (1 day ago)
  • Versions: 23
  • Dependent Packages: 111
  • Dependent Repositories: 1,812
  • Downloads: 212,704 Total
  • Docker Downloads: 89
  • Rankings:
    • Dependent repos count: 0.288%
    • Dependent packages count: 0.328%
    • Downloads: 0.458%
    • Docker downloads count: 1.288%
    • Average: 4.244%
    • Forks count: 11.263%
    • Stargazers count: 11.84%
  • Maintainers (1)

Dependencies

safe.cabal hackage
  • base >=4.8 && <5
  • QuickCheck * test
  • base * test
  • deepseq * test
  • safe * test
.github/workflows/ci.yml actions
  • actions/cache v2 composite
  • actions/checkout v2 composite
  • haskell/actions/setup v2 composite
  • ndmitchell/neil master composite