{"id":17331889,"url":"https://github.com/ocramz/validation-micro","last_synced_at":"2025-03-27T06:22:31.155Z","repository":{"id":182845243,"uuid":"655252800","full_name":"ocramz/validation-micro","owner":"ocramz","description":"Small validation library based on Applicative","archived":false,"fork":false,"pushed_at":"2023-06-18T11:59:51.000Z","size":15,"stargazers_count":2,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"main","last_synced_at":"2025-03-02T05:43:45.480Z","etag":null,"topics":["applicative-functors","validation"],"latest_commit_sha":null,"homepage":"","language":"Haskell","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"other","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/ocramz.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null}},"created_at":"2023-06-18T10:57:42.000Z","updated_at":"2023-10-13T20:52:29.000Z","dependencies_parsed_at":"2023-07-21T20:31:52.829Z","dependency_job_id":null,"html_url":"https://github.com/ocramz/validation-micro","commit_stats":null,"previous_names":["ocramz/validation-micro"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ocramz%2Fvalidation-micro","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ocramz%2Fvalidation-micro/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ocramz%2Fvalidation-micro/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ocramz%2Fvalidation-micro/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/ocramz","download_url":"https://codeload.github.com/ocramz/validation-micro/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":245792902,"owners_count":20672869,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["applicative-functors","validation"],"created_at":"2024-10-15T14:55:59.006Z","updated_at":"2025-03-27T06:22:31.137Z","avatar_url":"https://github.com/ocramz.png","language":"Haskell","funding_links":[],"categories":[],"sub_categories":[],"readme":"# validation-micro\n\n[![CI](https://github.com/ocramz/validation-micro/actions/workflows/CI.yml/badge.svg?branch=main)](https://github.com/ocramz/validation-micro/actions/workflows/CI.yml)\n\n\n[![Hackage](https://img.shields.io/hackage/v/validation-micro.svg?logo=haskell)](https://hackage.haskell.org/package/validation-micro)\n[![License](https://img.shields.io/badge/License-BSD_3--Clause-blue.svg)](https://opensource.org/licenses/BSD-3-Clause)\n\nLightweight pure data validation based on `Applicative` .\n\n`validation-micro` is built around the following data type:\n\n```haskell\ndata Validation e a\n    = Failure e\n    | Success a\n```\n\nThis data type is similar to `Either` but allows accumulating all\nerrors instead of short-circuiting on the first one.\n\n## Comparison with other packages\n\n`validation-micro` is not the only package that provides the `Validation` data type. \nHere are some differences and commonalities to other validation packages:\n\n+ **Lightweight**. `validation-micro` depends only on `base` and\n  `deepseq`, which make it fast to build. \n  So adding validation capabilities to your\n  library or application doesn't contribute much to your dependency\n  footprint.\n+ **Future-proof**. Both `base` and `deepseq` are GHC boot packages, which means that `validation-micro` can be imported as long as GHC can run.\n+ **No Selective instance**. This means you cannot choose which validation to use based on the value. On the other hand, we don't need to depend on `selective` which is a somewhat experimental package.\n+ **No Monad instance** - but there is a `bindValidation` utility function which behaves like `(\u003e\u003e=)`.\n\n## Copyright\n\nCopyright:  (c) 2014 Chris Allen, Edward Kmett\n            (c) 2018-2023 Kowainik\n            (c) 2023 Marco Zocca\nLicense: BSD3\nMaintainer:  oss@unfoldml.com\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Focramz%2Fvalidation-micro","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Focramz%2Fvalidation-micro","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Focramz%2Fvalidation-micro/lists"}