def css.score.arg

gralha-css-style@0.1.0.1 · css.bend:230

import gralha-css-style@0.1.0.1/css.bend as Css
import Base
import gralha-text-scan@0.1.0.1/scan.bend as U

230def css.score.arg(scan: U.Scan, negation: Bool, next: String -> U32, nested: String -> U32) -> U32:
231  U.Scan{h, t} = scan
232  (U.choose(U32, negation, nested(h), 1000) + next(U.drop(t, ")")) : U32)

Uses (7)

Used by (1)