LATEST BUILD

0.3.8-1.fc22

OWNER

(Rawhide)

PACKAGE TREE

ghc-safe

Library for safe (pattern match free) functions
  • Overview
  • Builds
  • Updates
  • Bugs
  • Contents
  • Changelog
  • Sources

Description

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.

Active Releases Overview

Release Latest Released Version Version in Testing
{{html release}} 
{{html stable_version}} {{html testing_version}}

Upstream Summary

History

buildsys.package.list.change

Package list change for ghc-safe: 'SHADOWBUILD-f23-build' (s390)

Details 11 days ago - 2015-05-17 08:35:58

buildsys.tag

sharkcz's ghc-safe-0.3.8-1.fc22 tagged into SHADOWBUILD-f23-build by sharkcz (s390)

Details 11 days ago - 2015-05-17 08:35:58

hotness.update.bug.file

the-new-hotness filed a bug on ghc-safe

Details 18 days ago - 2015-05-10 01:13:39

anitya.project.version.update

A new version of "safe" has been detected: "0.3.9" in advance of "0.3.8", packaged as "ghc-safe"

Details 18 days ago - 2015-05-10 01:13:34

buildsys.tag

karsten's ghc-safe-0.3.8-1.fc22 tagged into f22-Beta by pbrobinson (ppc)

Details a month ago - 2015-04-21 12:30:10

Found a bug? File a ticket. Note: There's some caching going on here. If you expect something and don't see it, check back in 5 minutes.

This Web Site is licensed under the GNU Affero General Public License. You may get sources for the current running code from these repositories: