Safe Haskell | Safe-Inferred |
---|---|
Language | Haskell2010 |
Synthesis parameters
Synopsis
- type Param1 = (String, Double)
- type Param = [Param1]
- param_insert :: Param -> Param1 -> Param
- param_merge_uniq :: Param -> Param -> Param
- param_merge_r :: Param -> Param -> Param
- param_merge_r_seq :: [Param] -> Param
- param_get :: Param -> String -> Double -> Double
- param_parse :: (Char, Char) -> String -> Param
- param_pp :: (Char, Char) -> Int -> Param -> String
Documentation
param_merge_uniq :: Param -> Param -> Param Source #
Merge, require keys be unique.
param_merge_uniq [("a",1),("b",2)] [("c",3),("d",4)] == [("a",1),("b",2),("c",3),("d",4)] param_merge_uniq [("a",1)] [("a",2)] -- error
param_merge_r :: Param -> Param -> Param Source #
Merge, right biased.
param_merge_r [("a",1),("b",2)] [("c",3),("a",4)] == [("b",2),("c",3),("a",4)]
param_merge_r_seq :: [Param] -> Param Source #
Right-fold (right-biased) of param_merge
param_merge_r_seq [[("a",1),("b",2)],[("c",3),("a",4)],[("b",5)]] == [("c",3),("a",4),("b",5)]