hsc3-rw-0.15: hsc3 re-writing

Safe HaskellSafe-Inferred

Sound.SC3.RW.HP.Polyparse

Synopsis

Documentation

type Binding = (String, String)Source

type Name_Supply = [String]Source

type HP_Char = (Char, Maybe Int)Source

type ST = (Int, [Int])Source

type HP = Parser ST CharSource

safe_head :: [a] -> Maybe aSource

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

un_hash_paren :: String -> StringSource