LATEST BUILD

0.3.8-2.fc23

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.tag

sharkcz's ghc-safe-0.3.8-2.fc23 tagged into f23 by sharkcz (s390)

Details 3 days ago - 2015-07-01 18:33:18

buildsys.build.state.change

sharkcz's ghc-safe-0.3.8-2.fc23 completed (s390)

Details 3 days ago - 2015-07-01 18:33:14

buildsys.build.state.change

sharkcz's ghc-safe-0.3.8-2.fc23 started building (s390)

Details 3 days ago - 2015-07-01 18:29:51

buildsys.tag

karsten's ghc-safe-0.3.8-2.fc23 tagged into f23 by karsten (ppc)

Details 7 days ago - 2015-06-27 15:23:09

buildsys.build.state.change

karsten's ghc-safe-0.3.8-2.fc23 completed (ppc)

Details 7 days ago - 2015-06-27 15:21:24

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: