hpython-0.1: Syntax tree and DSL for Python

Copyright(C) CSIRO 2017-2018
LicenseBSD3
MaintainerIsaac Elliott <isaace71295@gmail.com>
Stabilityexperimental
Portabilitynon-portable
Safe HaskellNone
LanguageHaskell2010

Language.Python.Validate.Syntax

Contents

Description

 
Synopsis

Documentation

Main validation functions

runValidateSyntax :: ValidateSyntax e a -> Validation (NonEmpty e) a Source #

Miscellany

Extra types

Extra functions

deleteBy' :: (a -> b -> Bool) -> a -> [b] -> [b] Source #

deleteFirstsBy' :: (a -> b -> Bool) -> [a] -> [b] -> [a] Source #

Validation functions

validateParamsSyntax Source #

Arguments

:: (AsSyntaxError e a, Member Indentation v) 
=> Bool

These are the parameters to a lambda

-> CommaSep (Param v a) 
-> ValidateSyntax e (CommaSep (Param (Nub (Syntax ': v)) a))