hpython-0.2: Python language tools

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

Language.Python.Validate.Syntax

Contents

Description

 
Synopsis

Documentation

Main validation functions

Miscellany

Extra types

Extra functions

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

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

Validation functions

validateImportAsSyntax :: (AsSyntaxError e a, Member Indentation v) => (t v a -> ValidateSyntax e (t' (Nub (Syntax ': v)) a)) -> ImportAs t v a -> ValidateSyntax e (ImportAs t' (Nub (Syntax ': v)) a) Source #

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))