Haskell library for dealing with YAML schemata.
Peter Harpending f4fe3d859a README: %s/Chris Allen/bitemyapp/ | 9 년 전 | |
---|---|---|
Data | 9 년 전 | |
skel | 9 년 전 | |
.gitignore | 9 년 전 | |
LICENSE | 9 년 전 | |
README.md | 9 년 전 | |
Setup.hs | 9 년 전 | |
yaml-schema.cabal | 9 년 전 |
A Haskell library (and program) to validate YAML against a schema. Unlike other libraries, yaml-validate contains a simple interface, and can interact with files.
This library is not finished yet. These instructions are for when the library is finished.
yaml-schema is written in Haskell, so you need the Haskell package
manager, cabal
, and the Haskell compiler, ghc
to install it. If you
don't have ghc
and cabal
installed, follow bitemyapp's guide.
Ordinarily, I would just tell you how to install them myself, but it varies quite a bit from OS to OS, and bitemyapp has it all documented.
To install yaml-schema, just run:
cabal install aeson-validate
If you're developing a library, just add yaml-schema
to the
build-depends
field in your library's .cabal
file.
peter@harpending.org
pharpend
on FreeNode and OFTCCopyright 2015 Peter Harpending
Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.