Skip to content

Commit

Permalink
Release v0.1.4.0.0
Browse files Browse the repository at this point in the history
  • Loading branch information
kutyel committed Jan 19, 2022
1 parent a491d0a commit 0fed580
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 9 deletions.
8 changes: 2 additions & 6 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -13,21 +13,17 @@ Language definition and parser for AVRO (`.avdl`) files.

```haskell
#!/usr/bin/env stack
-- stack --resolver lts-15.0 script --package language-avro,megaparsec,pretty-simple
-- stack --resolver lts-18.19 script --package language-avro,pretty-simple

module Main where

import Language.Avro.Parser (readWithImports)
import Text.Megaparsec.Error (ShowErrorComponent (..), errorBundlePretty)
import Text.Pretty.Simple (pPrint)

instance ShowErrorComponent Char where
showErrorComponent = show

main :: IO ()
main =
readWithImports "test" "PeopleService.avdl"
>>= either (putStrLn . errorBundlePretty) pPrint
>>= either putStrLn pPrint
-- λ>
-- Protocol
-- { ns = Just
Expand Down
6 changes: 3 additions & 3 deletions language-avro.cabal
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
name: language-avro
version: 0.1.3.1
version: 0.1.4.0
synopsis: Language definition and parser for AVRO files.
description:
Parser for the AVRO language specification, see README.md for more details.
Expand All @@ -8,8 +8,8 @@ homepage: https://github.com/kutyel/avro-parser-haskell#readme
license: Apache-2.0
license-file: LICENSE
author: Flavio Corpa
maintainer: flavio.corpa@47deg.com
copyright: Copyright © 2019-2020 <http://47deg.com 47 Degrees>
maintainer: flaviocorpa@gmail.com
copyright: Copyright © 2019-2022 <http://47deg.com 47 Degrees>
category: Network
build-type: Simple
cabal-version: >=1.10
Expand Down

0 comments on commit 0fed580

Please sign in to comment.