Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/parsonsmatt/hedgehog-fakedata
A compatibility library for `hedgehog` and `fakedata`
https://github.com/parsonsmatt/hedgehog-fakedata
Last synced: 14 days ago
JSON representation
A compatibility library for `hedgehog` and `fakedata`
- Host: GitHub
- URL: https://github.com/parsonsmatt/hedgehog-fakedata
- Owner: parsonsmatt
- License: bsd-3-clause
- Created: 2020-02-10T22:32:50.000Z (over 4 years ago)
- Default Branch: master
- Last Pushed: 2022-08-31T16:13:11.000Z (about 2 years ago)
- Last Synced: 2024-10-04T15:43:12.284Z (about 1 month ago)
- Language: Haskell
- Size: 23.4 KB
- Stars: 15
- Watchers: 4
- Forks: 5
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- Changelog: ChangeLog.md
- License: LICENSE
Awesome Lists containing this project
README
# hedgehog-fakedata
[![Build Status](https://travis-ci.org/parsonsmatt/hedgehog-fakedata.svg?branch=master)](https://travis-ci.org/parsonsmatt/hedgehog-fakedata)
![Hackage-Deps](https://img.shields.io/hackage-deps/v/hedgehog-fakedata)This library lets you re-use the [fakedata](https://hackage.haskell.org/package/fakedata) library to quickly and easily generate fake data for use in [`hedgehog`](https://hackage.haskell.org/package/hedgehog) generators.
```haskell
import qualified Hedgehog.Gen as Gen
import qualified Faker.Name as Faker
import Hedgehog.Gen.Faker (fake)main :: IO ()
main = do
print =<< Gen.sample (fake Faker.name)
```