hsc3-rw-0.14: hsc3 re-writing

Safe HaskellSafe-Inferred

Sound.SC3.RW.HP.Polyparse

Synopsis

Documentation

type ST = (Int, [Int])Source

hp_next :: HP (Char, Maybe Int)Source

Only count parens in #().

max_by :: Ord a => (t -> a) -> t -> t -> tSource

Left biased max variant.

 max_by last "cat" "mouse" == "cat"
 max_by last "aa" "za" == "aa"

replace_first :: Eq a => a -> a -> [a] -> [a]Source