~/bend-docscommunity

src/rules/style/param.bend fails

raw source on the hub · import 0xde9bb08f7de298b03207fb5797ede9a5/src/rules/style/param.bend as Param

rule param: a parameter name shorter than 2 characters. A single uppercase letter is a type parameter (A, T), and a bare parameter or one typed Quant is a quantity. Locals, pattern binders and a law's for names are not parameters. A PROOF.bend's parameters are the names the law bound.

7 imports
import Base
import ../../paths.bend as Paths
import ../../src.bend as Src
import ../../finding.bend as F
import ../../syntax/bind.bend as Bind
import ../../lazy/lazy.bend as Lazy
import ../tokens.bend as T