abnf-0.4.1.0: Parse ABNF and generate parsers for the specified document

Copyright (c) Martin Zeller, 2016 BSD2 Martin Zeller experimental non-portable Safe Haskell2010

Text.ABNF.ABNF.Canonicalizer

Description

Synopsis

# Documentation

Arguments

 :: Text The main, or top-level, Rule -> [Rule] List of Rules to canonicalize -> Maybe Rule The operation may fail for a number of reasons, for example, because the main Rule does not exist

Canonicalize a list of Rules, leaving only a single Rule.