<commit_before>homepage: ''
changelog-type: ''
hash: 529ba3073b2839b186633c1e893a87fbeaf2ea96576066e6bfe5dd7b7b30d37d
test-bench-deps:
  base: ! '>=4.2 && <4.15'
  syb: ! '>=0.1.0.2 && <0.8'
  array: ! '>=0.3 && <0.6'
  containers: ! '>=0.5 && <0.7'
  mtl: ! '>=2 && <2.3'
  random: ! '>=1.0 && <1.2'
  QuickCheck: ! '>=2.10 && <2.15'
maintainer: http://www.cse.chalmers.se/~nad/
synopsis: For testing partial and infinite values.
changelog: ''
basic-deps:
  base: ! '>=4.2 && <4.15'
  syb: ! '>=0.1.0.2 && <0.8'
  containers: ! '>=0.5 && <0.7'
  mtl: ! '>=2 && <2.3'
  random: ! '>=1.0 && <1.2'
  QuickCheck: ! '>=2.10 && <2.15'
all-versions:
- 1.2.2
- 1.2.4
- 1.3.0
- 1.3.0.1
- 1.3.0.2
- 1.3.0.3
- 1.3.0.4
- 1.3.0.5
- 1.3.0.6
- 1.3.0.7
- 1.3.0.8
- 1.3.0.9
- 172.16.17.32
- 172.16.58.3
- 1.3.0.12
- 1.3.0.13
- 1.3.0.14
- 1.3.1
- 1.3.1.1
- 1.3.1.2
- 1.3.1.3
- 1.3.1.4
- 1.3.1.5
- 1.3.1.6
- 1.3.1.7
- 1.3.1.8
author: <NAME>
latest: 1.3.1.8
description-type: haddock
description: |-
  Do you ever feel the need to test code involving bottoms (e.g. calls to
  the @error@ function), or code involving infinite values? Then this
  library could be useful for you.

  It is usually easy to get a grip on bottoms by showing a value and
  waiting to see how much gets printed before the first exception is
  encountered. However, that quickly gets tiresome and is hard to automate
  using e.g. QuickCheck
  (<http://www.cse.chalmers.se/~rjmh/QuickCheck/>). With this library you
  can do the tests as simply as the following examples show.

  Testing explicitly for bottoms:

  > > isBottom (head [])
  > True

  > > isBottom bottom
  > True

  > > isBottom (\_ -> bottom)
  > False

  > > isBottom (bottom, bottom)
  > False

  Comparing finite, partial values:<commit_msg>Update from Hackage at 2020-06-25T09:44:10Z<commit_after>homepage: ''
changelog-type: ''
hash: bd6cb67f02ab3e4d7d3625d0f769d05a262e3a966967bdad9574d0fe431abb08
test-bench-deps:
  base: '>=4.2 && <4.15'
  syb: '>=0.1.0.2 && <0.8'
  array: '>=0.3 && <0.6'
  containers: '>=0.5 && <0.7'
  mtl: '>=2 && <2.3'
  random: '>=1.0 && <1.3'
  QuickCheck: '>=2.10 && <2.15'
maintainer: http://www.cse.chalmers.se/~nad/
synopsis: For testing partial and infinite values.
changelog: ''
basic-deps:
  base: '>=4.2 && <4.15'
  syb: '>=0.1.0.2 && <0.8'
  containers: '>=0.5 && <0.7'
  mtl: '>=2 && <2.3'
  random: '>=1.0 && <1.3'
  QuickCheck: '>=2.10 && <2.15'
all-versions:
- 1.2.2
- 1.2.4
- 1.3.0
- 1.3.0.1
- 1.3.0.2
- 1.3.0.3
- 1.3.0.4
- 1.3.0.5
- 1.3.0.6
- 1.3.0.7
- 1.3.0.8
- 1.3.0.9
- 1.3.0.10
- 1.3.0.11
- 1.3.0.12
- 1.3.0.13
- 1.3.0.14
- 1.3.1
- 1.3.1.1
- 1.3.1.2
- 1.3.1.3
- 1.3.1.4
- 1.3.1.5
- 1.3.1.6
- 1.3.1.7
- 1.3.1.8
- 1.3.1.9
author: <NAME>
latest: 1.3.1.9
description-type: haddock
description: |-
  Do you ever feel the need to test code involving bottoms (e.g. calls to
  the @error@ function), or code involving infinite values? Then this
  library could be useful for you.

  It is usually easy to get a grip on bottoms by showing a value and
  waiting to see how much gets printed before the first exception is
  encountered. However, that quickly gets tiresome and is hard to automate
  using e.g. QuickCheck
  (<http://www.cse.chalmers.se/~rjmh/QuickCheck/>). With this library you
  can do the tests as simply as the following examples show.

  Testing explicitly for bottoms:

  > > isBottom (head [])
  > True

  > > isBottom bottom
  > True

  > > isBottom (\_ -> bottom)
  > False

  > > isBottom (bottom, bottom)
  > False

  Comparing finite, partial values:
{'fraction_non_alphanumeric': 0.1940129906805987, 'fraction_numerical': 0.1245410900875459, 'mean_word_length': 2.5278884462151394, 'pattern_counts': {'":': 0, '<': 33, '<?xml version=': 0, '>': 59, 'https://': 0, 'lorem ipsum': 0, 'www.': 4, 'xml': 0}, 'pii_count': 51, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '102432', 'n_tokens_mistral': 1789, 'n_tokens_neox': 1635, 'n_words': 398}